mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 12:44:57 +03:00
aff121ebce
closes TryGhost/Ghost#8013 - ember-power-select yields the select public api object instead of just the searchterm
13 lines
384 B
Handlebars
13 lines
384 B
Handlebars
{{#power-select
|
|
search=(action "search")
|
|
onchange=(action "openSelected")
|
|
placeholder="Search"
|
|
onopen=(action "onFocus")
|
|
onclose=(action "onBlur")
|
|
searchEnabled=false
|
|
triggerComponent="gh-search-input/trigger"
|
|
renderInPlace=true
|
|
loadingMessage="Loading"
|
|
as |name select|}}
|
|
{{highlighted-text name.title select.searchText}}
|
|
{{/power-select}} |