mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
a788a9673c
ref https://linear.app/tryghost/issue/MOM-1 - pre-requisite to exposing the search behaviour to the editor for internal linking
23 lines
782 B
Handlebars
23 lines
782 B
Handlebars
<div ...attributes>
|
|
<div class="ember-power-select-search">
|
|
<PowerSelect
|
|
@search={{perform this.search.searchTask}}
|
|
@onChange={{this.openSelected}}
|
|
@onClose={{this.onClose}}
|
|
@placeholder="Search site"
|
|
@searchEnabled={{false}}
|
|
@triggerComponent={{component "gh-input-with-select/trigger"}}
|
|
@renderInPlace={{true}}
|
|
@loadingMessage="Loading"
|
|
@extra={{hash
|
|
autofocus=true
|
|
inputType="search"
|
|
inputIcon="search"
|
|
inputIconClass="gh-nav-search-icon"
|
|
}}
|
|
as |name select|
|
|
>
|
|
{{highlighted-text name.title select.searchText}}
|
|
</PowerSelect>
|
|
</div>
|
|
</div> |