2020-02-03 08:22:14 -05:00
|
|
|
{{#if selectKit.options.showFullTitle}}
|
2021-08-23 04:44:19 -04:00
|
|
|
<div lang={{lang}} title={{title}} data-value={{value}} data-name={{name}} class="select-kit-selected-name selected-name choice">
|
2020-05-15 11:36:00 -04:00
|
|
|
{{#if item.icon}}
|
|
|
|
{{d-icon item.icon}}
|
|
|
|
{{/if}}
|
2020-02-03 08:22:14 -05:00
|
|
|
|
2020-05-15 11:36:00 -04:00
|
|
|
<span class="name">
|
|
|
|
{{label}}
|
|
|
|
</span>
|
2020-02-03 08:22:14 -05:00
|
|
|
|
2021-08-23 04:44:19 -04:00
|
|
|
{{#if shouldDisplayClearableButton}}
|
|
|
|
{{d-button
|
|
|
|
class="btn-clear"
|
|
|
|
icon="times"
|
|
|
|
action=selectKit.deselect
|
|
|
|
actionParam=item
|
|
|
|
ariaLabel="clear_input"
|
|
|
|
}}
|
2020-02-03 08:22:14 -05:00
|
|
|
{{/if}}
|
2020-05-15 11:36:00 -04:00
|
|
|
</div>
|
2020-02-03 08:22:14 -05:00
|
|
|
{{else}}
|
|
|
|
{{#if item.icon}}
|
2021-01-28 13:42:59 -05:00
|
|
|
<div role="textbox" lang={{lang}} class="select-kit-selected-name selected-name choice">
|
2020-05-15 11:36:00 -04:00
|
|
|
{{d-icon item.icon}}
|
|
|
|
</div>
|
2020-02-03 08:22:14 -05:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|