open-nomad/ui/app/templates/components/global-search/control.hbs

17 lines
555 B
Handlebars
Raw Normal View History

<PowerSelect
@tagName="div"
data-test-search
@searchEnabled={{true}}
@search={{perform this.search}}
@onChange={{action 'selectOption'}}
@onFocus={{action 'openOnClickOrTab'}}
@onClose={{action 'onCloseEvent'}}
@dropdownClass="global-search-dropdown"
@calculatePosition={{this.calculatePosition}}
@searchMessageComponent="global-search/message"
@triggerComponent="global-search/trigger"
@registerAPI={{action 'storeSelect'}}
as |option|>
<GlobalSearch::Match @match={{option}} />
</PowerSelect>