{{#each @select.selected as |opt idx|}} {{#component (or @extra.tokenComponent "draggable-object") tagName="li" class="ember-power-select-multiple-option" select=@select content=(readonly opt) idx=idx isSortable=true mouseDown=this.handleOptionMouseDown touchStart=this.handleOptionTouchStart }} {{#if @selectedItemComponent}} {{component @selectedItemComponent option=(readonly opt) select=(readonly @select)}} {{else}} {{yield opt @select}} {{/if}} {{#unless @select.disabled}} {{svg-jar "close" data-selected-index=idx}} {{/unless}} {{/component}} {{else}} {{#if (and @placeholder (not @searchEnabled))}} {{@placeholder}} {{/if}} {{/each}} {{#if @searchEnabled}} {{/if}}