{{#sortable-objects tagName="ul"
id=(concat "ember-power-select-multiple-options-" select.uniqueId)
class="ember-power-select-multiple-options"
sortableObjectList=select.selected
enableSort=true
useSwap=false
sortEndAction=(action "reorderItems")
}}
{{#each select.selected as |opt idx|}}
{{#component (or extra.tokenComponent draggable-object)
tagName="li"
class="ember-power-select-multiple-option"
select=select
option=(readonly opt)
idx=idx
isSortable=true
mouseDown=(action "handleOptionMouseDown")
touchStart=(action "handleOptionTouchStart")
}}
{{#if selectedItemComponent}}
{{component selectedItemComponent option=(readonly opt) select=(readonly select)}}
{{else}}
{{yield opt select}}
{{/if}}
{{#unless select.disabled}}
×
{{/unless}}
{{/component}}
{{else}}
{{#if (and placeholder (not searchEnabled))}}
{{placeholder}}
{{/if}}
{{/each}}
{{#if searchEnabled}}
{{/if}}
{{/sortable-objects}}