mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
Small form fixes
This commit is contained in:
parent
db2b027656
commit
614bc3f74b
@ -156,7 +156,7 @@ let Form = React.createClass({
|
|||||||
|
|
||||||
for(let ref in this.refs) {
|
for(let ref in this.refs) {
|
||||||
if(this.refs[ref] && typeof this.refs[ref].handleSuccess === 'function'){
|
if(this.refs[ref] && typeof this.refs[ref].handleSuccess === 'function'){
|
||||||
this.refs[ref].handleSuccess();
|
this.refs[ref].handleSuccess(response);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.setState({
|
this.setState({
|
||||||
|
@ -171,7 +171,7 @@ let LoanForm = React.createClass({
|
|||||||
editable={!gallery}
|
editable={!gallery}
|
||||||
overrideForm={!!gallery}>
|
overrideForm={!!gallery}>
|
||||||
<input
|
<input
|
||||||
value={gallery}
|
defaultValue={gallery}
|
||||||
type="text"
|
type="text"
|
||||||
placeholder={getLangText('Gallery/exhibition (optional)')}/>
|
placeholder={getLangText('Gallery/exhibition (optional)')}/>
|
||||||
</Property>
|
</Property>
|
||||||
|
Loading…
Reference in New Issue
Block a user