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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
438 B
Handlebars
Raw Normal View History

<div class="select-kit-header-wrapper">
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
{{component selectKit.options.selectedNameComponent
tabindex=tabindex
item=selectedContent
selectKit=selectKit
}}
{{#if shouldDisplayClearableButton}}
<DButton @class="btn-clear" @icon="times" @action={{selectKit.onClearSelection}} @ariaLabel="clear_input" />
{{/if}}
{{d-icon caretIcon class="caret-icon"}}
</div>