open-vault/ui/app/templates/components/navigate-input.hbs
2018-10-18 14:54:34 -05:00

19 lines
541 B
Handlebars

<div class="field">
<p class="control has-icons-left has-icons-right">
<input
class="filter input"
disabled={{disabled}}
value={{@filter}}
placeholder={{ or @placeholder "Filter keys" }}
oninput={{action "handleInput" value="target.value"}}
onkeyup={{action "handleKeyUp" }}
onkeydown={{action "handleKeyPress"}}
onfocus={{action "setFilterFocused" true}}
onblur={{action "setFilterFocused" false}}
/>
{{i-con glyph="ios-search-strong" class="is-left has-text-grey" size=18}}
</p>
</div>