mirror of https://github.com/status-im/consul.git
11 lines
498 B
Handlebars
11 lines
498 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 {{ref this "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> |