open-nomad/ui/app/templates/components/search-box.hbs
Buck Doyle 244157786a
Add explicit this to templates (#8388)
This is the result of running the no-implicit-this-codemod, some manual fixes,
and the addition of a linting rule to prevent future ambiguity.
2020-07-09 15:19:07 -05:00

12 lines
368 B
Handlebars

<div class="control">
<span class="prefix-icon">{{x-icon "search"}}</span>
<input
class="input {{this.inputClass}}"
type="text"
placeholder={{this.placeholder}}
value={{this._searchTerm}}
oninput={{action "setSearchTerm"}}
size="1">
<button class="suffix-icon" onclick={{action "clear"}} type="button">{{x-icon "cancel"}}</button>
</div>