discourse/app/assets/javascripts/select-kit/templates/components/combo-box/combo-box-header.hbs
Joffrey JAFFEUX 3ec2024466
select-kit refactoring
* improve events naming/handling
* do not explicitly check for true/Fasle
* make sure header is re-computed on toggle
2018-01-11 09:39:51 +01:00

14 lines
295 B
Handlebars

{{#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"}}