discourse/app/assets/javascripts/select-kit/templates/components/combo-box/combo-box-header.hbs

14 lines
303 B
Handlebars
Raw Normal View History

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