open-nomad/ui/app/templates/components/search-box.hbs

13 lines
425 B
Handlebars
Raw Normal View History

2017-09-19 14:47:10 +00:00
<div class="control">
<span class="prefix-icon">{{x-icon "search"}}</span>
<input
class="input {{this.inputClass}}"
type="text"
placeholder={{this.placeholder}}
aria-label={{this.placeholder}}
value={{this._searchTerm}}
oninput={{action "setSearchTerm"}}
size="1">
<button class="suffix-icon" onclick={{action "clear"}} type="button" title="Clear search">{{x-icon "cancel"}}</button>
2017-09-19 14:47:10 +00:00
</div>