mirror of
https://github.com/discourse/discourse.git
synced 2025-02-02 08:06:31 +08:00
3287ac77e0
noneLabels works almost like none but instead of actually adding a row in the list, it will only change the text displayed in the header, when there's no selection.
14 lines
297 B
Handlebars
14 lines
297 B
Handlebars
{{#each icons as |icon|}} {{d-icon icon}} {{/each}}
|
|
|
|
<span class="selected-name">
|
|
{{{label}}}
|
|
</span>
|
|
|
|
{{#if shouldDisplayClearableButton}}
|
|
<button class="btn-clear" {{action onClearSelection bubbles=false}}>
|
|
{{d-icon 'times'}}
|
|
</button>
|
|
{{/if}}
|
|
|
|
{{d-icon caretIcon class="caret-icon"}}
|