mirror of
https://github.com/discourse/discourse.git
synced 2024-12-26 05:03:45 +08:00
a914d3230b
Followup to 7d8974d02f
Co-authored-by: David Taylor <david@taylorhq.com>
21 lines
508 B
Handlebars
21 lines
508 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
|
|
@icon="xmark"
|
|
@action={{this.selectKit.onClearSelection}}
|
|
@ariaLabel="clear_input"
|
|
class="btn-clear"
|
|
/>
|
|
{{/if}}
|
|
|
|
{{d-icon this.caretIcon class="caret-icon"}}
|
|
</div> |