2019-08-31 20:51:14 -07:00
|
|
|
<div
|
|
|
|
|
class="ember-power-select-trigger ember-power-select-typeahead-trigger pwr-user-lookup__auto-suggestion"
|
|
|
|
|
>
|
2020-08-28 10:31:15 -07:00
|
|
|
<Input
|
|
|
|
|
@type="search"
|
|
|
|
|
@role="combobox"
|
|
|
|
|
@autocomplete="off"
|
|
|
|
|
class="ember-power-select-typeahead-input ember-power-select-search-input pwr-user-lookup__auto-suggestion__input"
|
|
|
|
|
placeholder={{if showPlaceholder "Add an owner"}}
|
|
|
|
|
@value={{suggestedText}}
|
|
|
|
|
/>
|
2018-05-07 08:32:02 -07:00
|
|
|
</div>
|
|
|
|
|
<div class="pwr-user-lookup__typeahead-container">
|
2020-08-26 15:44:50 -07:00
|
|
|
<PowerSelectTypeahead
|
|
|
|
|
@searchPlaceholder="Add an owner"
|
|
|
|
|
@options={{this.suggestionOptions}}
|
|
|
|
|
@defaultHighlighted={{this.highlight}}
|
|
|
|
|
@selected={{this.selectedEntity}}
|
|
|
|
|
@search={{fn this.onSearch}}
|
|
|
|
|
@onchange={{fn this.onChangeSelection}}
|
|
|
|
|
as |name|
|
|
|
|
|
>
|
2018-05-07 08:32:02 -07:00
|
|
|
{{name}}
|
2020-08-26 15:44:50 -07:00
|
|
|
</PowerSelectTypeahead>
|
|
|
|
|
</div>
|