Focus input field on IPATable close
This commit is contained in:
parent
0c4824e430
commit
d9467cfe82
|
@ -74,7 +74,7 @@ export class IPAField extends Component {
|
|||
return (
|
||||
<IPATable
|
||||
value={ this.state.value }
|
||||
close={ () => this.setState({ doShowTable: false }) }
|
||||
close={ () => this.setState({ doShowTable: false }, () => this.field.focus()) }
|
||||
update={ (newValue) => this.setState({ value: newValue }, this.field.focus()) } />
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue