2020-06-19 18:05:28 +00:00
|
|
|
<PowerSelect
|
|
|
|
@tagName="div"
|
|
|
|
data-test-search
|
|
|
|
@searchEnabled={{true}}
|
|
|
|
@search={{perform this.search}}
|
|
|
|
@onChange={{action 'selectOption'}}
|
|
|
|
@onFocus={{action 'openOnClickOrTab'}}
|
2020-06-25 13:51:52 +00:00
|
|
|
@onClose={{action 'onCloseEvent'}}
|
2020-06-19 18:05:28 +00:00
|
|
|
@dropdownClass="global-search-dropdown"
|
|
|
|
@calculatePosition={{this.calculatePosition}}
|
|
|
|
@searchMessageComponent="global-search/message"
|
|
|
|
@triggerComponent="global-search/trigger"
|
|
|
|
@registerAPI={{action 'storeSelect'}}
|
|
|
|
as |option|>
|
2020-06-25 13:51:52 +00:00
|
|
|
<GlobalSearch::Match @match={{option}} />
|
2020-06-19 18:05:28 +00:00
|
|
|
</PowerSelect>
|