open-vault/ui/app/templates/components/navigate-input.hbs

20 lines
557 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
<div class="field">
<p class="control has-icons-left has-icons-right">
2018-10-06 03:01:02 +00:00
<input
2018-04-03 14:16:57 +00:00
class="filter input"
2018-10-06 03:01:02 +00:00
disabled={{disabled}}
value={{@filter}}
placeholder={{ or @placeholder "Filter keys" }}
type="text"
2018-10-06 03:01:02 +00:00
oninput={{action "handleInput" value="target.value"}}
onkeyup={{action "handleKeyUp" }}
onkeydown={{action "handleKeyPress"}}
onfocus={{action "setFilterFocused" true}}
onblur={{action "setFilterFocused" false}}
/>
2018-04-03 14:16:57 +00:00
{{i-con glyph="ios-search-strong" class="is-left has-text-grey" size=18}}
</p>
</div>