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

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

21 lines
508 B
Handlebars
Raw Normal View History

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