mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
9ed5aad186
no issue - the upcoming Module Unification re-organisation in Ember will no longer support nested components - this PR pre-emptively moves our usage of nested components into a flat file structure
13 lines
661 B
Handlebars
13 lines
661 B
Handlebars
<div class="ember-power-select-search" onmousedown={{action "captureMouseDown"}}>
|
|
<input type="search" autocomplete="off"
|
|
autocorrect="off" autocapitalize="off"
|
|
value={{if extra.labelPath (get selected extra.labelPath) selected}}
|
|
spellcheck="false" role="combobox"
|
|
placeholder={{placeholder}}
|
|
oninput={{action 'search' value="target.value"}}
|
|
onmousedown={{action "captureMouseDown"}}
|
|
onkeydown={{action "handleKeydown"}}
|
|
onblur={{action "resetInput"}}>
|
|
<button class="gh-nav-search-button" {{action "focusInput"}}>{{inline-svg "search"}}<span class="sr-only">Search</span></button>
|
|
</div>
|