Commit 37c45a81 by ryan

autoFocus the search filter

parent f93d83be
...@@ -229,7 +229,8 @@ export class AddPanelPanel extends React.Component<AddPanelPanelProps, AddPanelP ...@@ -229,7 +229,8 @@ export class AddPanelPanel extends React.Component<AddPanelPanelProps, AddPanelP
<label className="gf-form gf-form--grow gf-form--has-input-icon"> <label className="gf-form gf-form--grow gf-form--has-input-icon">
<input <input
type="text" type="text"
className="gf-form-input max-width-20" autoFocus
className="gf-form-input gf-form--grow"
placeholder="Panel Search Filter" placeholder="Panel Search Filter"
value={this.state.filter} value={this.state.filter}
onChange={this.filterChange.bind(this)} onChange={this.filterChange.bind(this)}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment