diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index da5ad6f0..89394766 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -53,12 +53,16 @@ let LoanForm = React.createClass({ getContractCheckbox() { if(this.state.contractKey && this.state.contractUrl) { + // we need to define a key on the InputCheckboxes as otherwise + // react is not rerendering them on a store switch and is keeping + // the default value of the component (which is in that case true) return ( {getLangText('I agree to the')}  @@ -76,6 +80,7 @@ let LoanForm = React.createClass({ style={{paddingBottom: 0}} hidden={true}> );