20 lines
679 B
Handlebars
20 lines
679 B
Handlebars
<div class="ember-power-select-search" {{on "mousedown" this.captureMousedown}}>
|
|
{{svg-jar "search" class="gh-nav-search-icon"}}
|
|
<input type="search"
|
|
{{autofocus}}
|
|
{{did-insert this.registerInput}}
|
|
{{on "input" this.search}}
|
|
{{on "mousedown" this.captureMousedown}}
|
|
{{on "keydown" this.handleKeydown}}
|
|
{{on "keyup" this.handleKeyup}}
|
|
autocomplete="off"
|
|
autocorrect="off"
|
|
autocapitalize="off"
|
|
autofocus="true"
|
|
value={{if @extra.labelPath (get @selected @extra.labelPath) @selected}}
|
|
spellcheck="false"
|
|
role="combobox"
|
|
placeholder={{@placeholder}}
|
|
>
|
|
</div>
|