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

16 lines
309 B
Handlebars
Raw Normal View History

2017-10-19 15:51:08 -04:00
{{#if icon}}
{{{icon}}}
{{/if}}
<span class="selected-name" title={{selectedName}}>
{{{selectedName}}}
</span>
{{#if shouldDisplayClearableButton}}
<button class="btn-clear" {{action onClearSelection bubbles=false}}>
{{d-icon 'times'}}
</button>
{{/if}}
{{d-icon caretIcon class="caret-icon"}}