discourse/app/assets/javascripts/select-kit/templates/components/combo-box/combo-box-header.hbs
Jarek Radosz d43e7354ec
DEV: Convert <button> tags to {{d-button}} components (#8224)
* DEV: Convert <button> tags to {{d-button}}

* Fixes
2019-11-04 11:23:54 +01:00

19 lines
355 B
Handlebars

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