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

14 lines
295 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 clearSelection bubbles=false}}>
{{d-icon 'times'}}
</button>
{{/if}}
{{d-icon caretIcon class="caret-icon"}}