2017-10-19 15:51:08 -04:00
|
|
|
<input
|
|
|
|
class="select-box-kit-offscreen"
|
|
|
|
type="text"
|
|
|
|
aria-haspopup="true"
|
|
|
|
role="button"
|
|
|
|
aria-labelledby="select-box-kit-offscreen-{{elementId}}"
|
|
|
|
tabindex={{tabindex}}
|
|
|
|
name={{name}}
|
|
|
|
value={{computedValue}}
|
|
|
|
readonly=true
|
|
|
|
/>
|
|
|
|
|
|
|
|
{{component headerComponent
|
|
|
|
none=computedNone
|
|
|
|
isFocused=isFocused
|
|
|
|
isExpanded=isExpanded
|
|
|
|
selectedContent=selectedContent
|
|
|
|
onDeselect=(action "onDeselect")
|
|
|
|
onToggle=(action "onToggle")
|
|
|
|
onFilterChange=(action "onFilterChange")
|
|
|
|
onClearSelection=(action "onClearSelection")
|
2017-11-09 13:57:53 -05:00
|
|
|
shouldDisplayFilter=shouldDisplayFilter
|
2017-10-19 15:51:08 -04:00
|
|
|
options=headerComponentOptions
|
|
|
|
}}
|
|
|
|
|
|
|
|
<div class="select-box-kit-body">
|
|
|
|
{{component filterComponent
|
|
|
|
onFilterChange=(action "onFilterChange")
|
|
|
|
icon=filterIcon
|
2017-11-09 13:57:53 -05:00
|
|
|
shouldDisplayFilter=shouldDisplayFilter
|
2017-10-19 15:51:08 -04:00
|
|
|
isFocused=isFocused
|
|
|
|
placeholder=(i18n filterPlaceholder)
|
2017-11-09 13:57:53 -05:00
|
|
|
filter=filter
|
2017-10-19 15:51:08 -04:00
|
|
|
}}
|
|
|
|
|
2017-11-09 13:57:53 -05:00
|
|
|
{{#if renderedBodyOnce}}
|
2017-10-19 15:51:08 -04:00
|
|
|
{{component collectionComponent
|
|
|
|
none=computedNone
|
|
|
|
createRowContent=createRowContent
|
|
|
|
selectedContent=selectedContent
|
|
|
|
filteredContent=filteredContent
|
|
|
|
rowComponent=rowComponent
|
|
|
|
noneRowComponent=noneRowComponent
|
|
|
|
createRowComponent=createRowComponent
|
|
|
|
templateForRow=templateForRow
|
|
|
|
templateForNoneRow=templateForNoneRow
|
|
|
|
templateForCreateRow=templateForCreateRow
|
|
|
|
onClearSelection=(action "onClearSelection")
|
|
|
|
onSelect=(action "onSelect")
|
|
|
|
onHighlight=(action "onHighlight")
|
|
|
|
onCreateContent=(action "onCreateContent")
|
|
|
|
noContentLabel=noContentLabel
|
|
|
|
highlightedValue=highlightedValue
|
|
|
|
computedValue=computedValue
|
|
|
|
rowComponentOptions=rowComponentOptions
|
|
|
|
}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="select-box-kit-wrapper"></div>
|