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

18 lines
355 B
Handlebars

{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
{{component selectKit.options.selectedNameComponent
tabindex=tabindex
item=selectedContent
selectKit=selectKit
}}
{{#if shouldDisplayClearableButton}}
{{d-button
class="btn-clear"
icon="times"
action=selectKit.onClearSelection
}}
{{/if}}
{{d-icon caretIcon class="caret-icon"}}