1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00
This commit is contained in:
Tim Daubenschütz 2015-07-15 17:57:28 +02:00
parent 58294687f9
commit c2ce0b9d05
2 changed files with 14 additions and 0 deletions

View File

@ -62,6 +62,7 @@ let Form = React.createClass({
if ('getFormData' in this.props){
data = mergeOptionsWithDuplicates(data, this.props.getFormData());
}
console.log(data);
return data;
},

View File

@ -69,6 +69,19 @@ let LoanForm = React.createClass({
</InputCheckbox>
</Property>
);
} else {
return (
<Property
hidden={true}
name="terms"
className="ascribe-settings-property-collapsible-toggle"
style={{paddingBottom: 0}}>
<input
ref="input"
type="checkbox"
defaultValue={true} />
</Property>
);
}
},