diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index 9e7c9fcc..7b92f2b2 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -59,7 +59,8 @@ let LoanForm = React.createClass({ name="terms" className="ascribe-settings-property-collapsible-toggle" style={{paddingBottom: 0}}> - + {getLangText('I agree to the')}  diff --git a/js/components/ascribe_forms/input_checkbox.js b/js/components/ascribe_forms/input_checkbox.js index 46f4eb78..5c621a90 100644 --- a/js/components/ascribe_forms/input_checkbox.js +++ b/js/components/ascribe_forms/input_checkbox.js @@ -4,7 +4,6 @@ import React from 'react'; let InputCheckbox = React.createClass({ propTypes: { - required: React.PropTypes.string.isRequired, defaultValue: React.PropTypes.bool, children: React.PropTypes.oneOfType([ React.PropTypes.arrayOf(React.PropTypes.element), @@ -13,7 +12,7 @@ let InputCheckbox = React.createClass({ }, getDefaultProps() { return { - required: 'required' + defaultValue: false }; }, diff --git a/js/components/ascribe_forms/property.js b/js/components/ascribe_forms/property.js index 93a32baa..2547c65b 100644 --- a/js/components/ascribe_forms/property.js +++ b/js/components/ascribe_forms/property.js @@ -158,7 +158,7 @@ let Property = React.createClass({ renderChildren() { return ReactAddons.Children.map(this.props.children, (child) => { return ReactAddons.addons.cloneWithProps(child, { - value: this.state.value, + //value: this.state.value, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur,