discourse/app/assets/javascripts/select-kit/addon/components/dropdown-select-box/dropdown-select-box-header.hbs
Régis Hanol b74007db0a
FIX: restore zero-width space character... (#30243)
... that got **wrongly** (my bad) removed in 6ef0b5d508
2024-12-12 16:10:01 +01:00

17 lines
528 B
Handlebars

<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
shouldDisplayClearableButton=this.shouldDisplayClearableButton
}}
{{#if this.selectKit.options.showCaret}}
{{d-icon this.caretIcon class="caret-icon"}}
{{/if}}
&#8203;
{{! Zero-width space character, so icon-only button height = regular button height }}
</div>