discourse/app/assets/javascripts/select-kit/templates/components/combo-box/combo-box-header.hbs
Joffrey JAFFEUX 315b9d796d
select-kit refactoring
* better test helper
* more reliable tests
* more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
2017-12-22 13:08:12 +01:00

14 lines
288 B
Handlebars

{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
<span class="selected-name">
{{{label}}}
</span>
{{#if shouldDisplayClearableButton}}
<button class="btn-clear" {{action onClear bubbles=false}}>
{{d-icon 'times'}}
</button>
{{/if}}
{{d-icon caretIcon class="caret-icon"}}