Make PhotoPanel bound
This commit is contained in:
@@ -36,10 +36,7 @@ export class BoundInput extends React.Component {
|
||||
handleChangeText(newText) {
|
||||
const { binder, name } = this.props
|
||||
|
||||
// TODO: Sometimes this is undefined and causes a crash?!
|
||||
if (binder) {
|
||||
const state = binder.getFieldState(name)
|
||||
|
||||
this.setState(binder.updateFieldValue(name, newText))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user