discourse/app/assets/javascripts/select-kit/templates/components/multi-select/multi-select-header.hbs
Joffrey JAFFEUX 315b9d796d
select-kit refactoring
* better test helper
* more reliable tests
* more consistent use of data-value/data-name/title/aria-label everywhere: header and rows
2017-12-22 13:08:12 +01:00

14 lines
450 B
Handlebars

<div class="choices">
{{#each computedContent.selectedComputedContents as |selectedComputedContent|}}
{{component selectedNameComponent onDeselect=onDeselect computedContent=selectedComputedContent}}
{{/each}}
<span class="filter choice" tabindex="-1">
{{component "select-kit/select-kit-filter"
onFilter=onFilter
shouldDisplayFilter=shouldDisplayFilter
isFocused=isFocused
filter=filter
}}
</span>
</div>