mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 00:58:57 +08:00

* improve events naming/handling * do not explicitly check for true/Fasle * make sure header is re-computed on toggle
14 lines
295 B
Handlebars
14 lines
295 B
Handlebars
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
|
|
|
|
<span class="selected-name">
|
|
{{{label}}}
|
|
</span>
|
|
|
|
{{#if shouldDisplayClearableButton}}
|
|
<button class="btn-clear" {{action clearSelection bubbles=false}}>
|
|
{{d-icon 'times'}}
|
|
</button>
|
|
{{/if}}
|
|
|
|
{{d-icon caretIcon class="caret-icon"}}
|