mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 22:45:59 +08:00
21 lines
509 B
Handlebars
21 lines
509 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
|
|
}}
|
|
|
|
{{#if this.shouldDisplayClearableButton}}
|
|
<DButton
|
|
@class="btn-clear"
|
|
@icon="times"
|
|
@action={{this.selectKit.onClearSelection}}
|
|
@ariaLabel="clear_input"
|
|
/>
|
|
{{/if}}
|
|
|
|
{{d-icon this.caretIcon class="caret-icon"}}
|
|
</div> |