mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:24:04 +08:00
3ec2024466
* 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"}}
|