diff --git a/js/src/ui/Form/InputAddress/inputAddress.js b/js/src/ui/Form/InputAddress/inputAddress.js index 79bb24c8d..3cdac2a2e 100644 --- a/js/src/ui/Form/InputAddress/inputAddress.js +++ b/js/src/ui/Form/InputAddress/inputAddress.js @@ -57,7 +57,7 @@ class InputAddress extends Component { render () { const { accountsInfo, allowCopy, className, disabled, error, focused, hint } = this.props; - const { hideUnderline, label, onClick, onFocus, onSubmit, readOnly, small } = this.props; + const { hideUnderline, label, onClick, onFocus, readOnly, small } = this.props; const { tabIndex, text, tokens, value } = this.props; const account = value && (accountsInfo[value] || tokens[value]); @@ -90,10 +90,10 @@ class InputAddress extends Component { hideUnderline={ hideUnderline } hint={ hint } label={ label } - onChange={ this.handleInputChange } + onChange={ this.onChange } onClick={ onClick } onFocus={ onFocus } - onSubmit={ onSubmit } + onSubmit={ this.onSubmit } readOnly={ readOnly } tabIndex={ tabIndex } value={ @@ -132,22 +132,34 @@ class InputAddress extends Component { return (