Skip to content
Snippets Groups Projects
Commit bd26dbd9 authored by Brian Peiris's avatar Brian Peiris
Browse files

fix checkbox boolean

parent 3cabf1f2
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ class ProfileEntryPanel extends Component {
type="checkbox"
required
value={this.state.has_agreed_to_terms}
onChange={e => this.setState({ has_agreed_to_terms: e.target.value })}
onChange={e => this.setState({ has_agreed_to_terms: e.target.checked })}
/>
<span className="profile-entry__terms__text">
<FormattedMessage id="profile.terms.prefix" />{" "}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment