55 lines
1.3 KiB
Handlebars
55 lines
1.3 KiB
Handlebars
<input
|
|
class="select-box-offscreen"
|
|
type="text"
|
|
aria-haspopup="true"
|
|
role="button"
|
|
aria-labelledby="select-box-input-{{componentId}}"
|
|
tabindex={{tabindex}}
|
|
/>
|
|
|
|
{{component selectBoxHeaderComponent
|
|
text=generatedHeadertext
|
|
selectedTitle=selectedTitle
|
|
focused=focused
|
|
caretUpIcon=caretUpIcon
|
|
caretDownIcon=caretDownIcon
|
|
onToggle=(action "onToggle")
|
|
icon=icon
|
|
expanded=expanded
|
|
value=value
|
|
}}
|
|
|
|
<div class="select-box-body">
|
|
{{#if renderBody}}
|
|
{{#if filterable}}
|
|
{{component selectBoxFilterComponent
|
|
onFilterChange=(action "onFilterChange")
|
|
icon=filterIcon
|
|
focused=filterFocused
|
|
placeholder=filterPlaceholder
|
|
tabindex=tabindex
|
|
}}
|
|
{{/if}}
|
|
|
|
{{component selectBoxCollectionComponent
|
|
clearSelectionLabel=clearSelectionLabel
|
|
filteredContent=filteredContent
|
|
selectBoxRowComponent=selectBoxRowComponent
|
|
templateForRow=templateForRow
|
|
shouldHighlightRow=shouldHighlightRow
|
|
shouldSelectRow=shouldSelectRow
|
|
titleForRow=titleForRow
|
|
onSelectRow=(action "onSelectRow")
|
|
onHoverRow=(action "onHoverRow")
|
|
onClearSelection=(action "onClearSelection")
|
|
noContentLabel=noContentLabel
|
|
highlightedValue=highlightedValue
|
|
value=value
|
|
}}
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if wrapper}}
|
|
<div class="select-box-wrapper"></div>
|
|
{{/if}}
|