autoFocus the search filter

This commit is contained in:
ryan 2018-06-07 02:48:54 +02:00
parent f93d83befe
commit 37c45a81a9

View File

@ -229,7 +229,8 @@ export class AddPanelPanel extends React.Component<AddPanelPanelProps, AddPanelP
<label className="gf-form gf-form--grow gf-form--has-input-icon">
<input
type="text"
className="gf-form-input max-width-20"
autoFocus
className="gf-form-input gf-form--grow"
placeholder="Panel Search Filter"
value={this.state.filter}
onChange={this.filterChange.bind(this)}