mirror of https://github.com/hashicorp/consul
11 lines
477 B
Handlebars
11 lines
477 B
Handlebars
<ul>
|
|
{{#each value as |item index|}}
|
|
<li>
|
|
<button type="button" {{action 'remove' index}}>Remove</button>{{item}}
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
<label class="type-search">
|
|
<span>Search</span>
|
|
<input onchange={{action 'add'}} onsearch={{action 'add'}} oninput={{action 'input'}} onkeydown={{action 'keydown'}} placeholder={{if (eq value.length 0) placeholder}} value={{item}} type="search" name="s" autofocus="autofocus" />
|
|
</label> |