This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/select-kit/addon/templates/components/dropdown-select-box/dropdown-select-box-header.hbs
Peter Wagenet 371bbadb92
No implicit this codemod (#17235)
* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
2022-07-05 19:41:31 +02:00

17 lines
525 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>