mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
14 lines
587 B
Handlebars
14 lines
587 B
Handlebars
{{#if select.selected}}
|
|
{{#if selectedItemComponent}}
|
|
{{component selectedItemComponent option=(readonly select.selected) select=(readonly select)}}
|
|
{{else}}
|
|
<span class="ember-power-select-selected-item">{{yield select.selected select}}</span>
|
|
{{/if}}
|
|
{{#if (and allowClear (not select.disabled))}}
|
|
<span class="ember-power-select-clear-btn" onmousedown={{action "clear"}} ontouchstart={{action "clear"}}>×</span>
|
|
{{/if}}
|
|
{{else}}
|
|
{{component placeholderComponent placeholder=placeholder}}
|
|
{{/if}}
|
|
{{inline-svg "arrow-down-small"}}
|