Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input type="radio" onChange={this.handleChange.bind(this, 'maintain_licence', 'yes')} checked={maintain_licence.value === 'yes'} id="maintain-licence-yes" value="yes" name="maintain_licence" /><span>Yes</span>
- handleChange(fieldName, value) {
- if(fieldName === 'maintain_licence') {
- this.props.fields.maintain_licence.onChange(value);
- }
- }
- handleChange(fieldName, value) {
- this.props.fields.fieldName.onChange(value);
- }
Add Comment
Please, Sign In to add comment