|
|
|
@ -123,7 +123,15 @@ SendTransactionScreen.prototype.renderFromInput = function (from, identities) { |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
onBlur: () => this.setErrorsFor('from'), |
|
|
|
|
onFocus: () => this.clearErrorsFor('from'), |
|
|
|
|
onFocus: () => { |
|
|
|
|
this.clearErrorsFor('from'), |
|
|
|
|
this.state.newTx.from && this.setState({ |
|
|
|
|
newTx: { |
|
|
|
|
...this.state.newTx, |
|
|
|
|
from: '', |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
h('datalist#accounts', [ |
|
|
|
@ -160,7 +168,15 @@ SendTransactionScreen.prototype.renderToInput = function (to, identities, addres |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
onBlur: () => this.setErrorsFor('to'), |
|
|
|
|
onFocus: () => this.clearErrorsFor('to'), |
|
|
|
|
onFocus: () => { |
|
|
|
|
this.clearErrorsFor('to') |
|
|
|
|
this.state.newTx.to && this.setState({ |
|
|
|
|
newTx: { |
|
|
|
|
...this.state.newTx, |
|
|
|
|
to: '', |
|
|
|
|
}, |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
h('datalist#addresses', [ |
|
|
|
|