This commit is contained in:
xavcz 2017-01-02 12:34:04 +01:00
parent 746da29d72
commit 4be5c86a58

View file

@ -53,7 +53,7 @@ class AccountsField extends Accounts.ui.Field {
const { mount = true } = this.state; const { mount = true } = this.state;
return mount ? ( return mount ? (
<div className={ className }> <div className={ className }>
<FormControl id={ id } type={ type } onChange={ onChange } placeholder={ hint } defaultValue={ defaultValue } /> <FormControl id={ id } type={ type } inputRef={ref => { this.input = ref; }} onChange={ onChange } placeholder={ hint } defaultValue={ defaultValue } />
</div> </div>
) : null; ) : null;
} }