2022-10-21 18:18:00 +03:00
|
|
|
<PowerSelect
|
|
|
|
@searchEnabled={{true}}
|
2022-08-22 21:24:32 +03:00
|
|
|
@options={{this.options}}
|
2022-10-21 18:18:00 +03:00
|
|
|
@selected={{this.selectedOption}}
|
2022-08-22 21:24:32 +03:00
|
|
|
@onChange={{this.onChange}}
|
2022-10-21 18:18:00 +03:00
|
|
|
@triggerClass="gh-resource-select-trigger"
|
|
|
|
@dropdownClass="gh-resource-select-dropdown"
|
2022-09-28 18:14:32 +03:00
|
|
|
@placeholder={{this.placeholderText}}
|
2022-10-21 18:18:00 +03:00
|
|
|
@renderInPlace={{this.renderInPlace}}
|
|
|
|
@disabled={{or @disabled this.fetchOptionsTask.isRunning}}
|
|
|
|
@optionsComponent={{component "power-select/options"}}
|
|
|
|
@search={{this.searchAndSuggest}}
|
|
|
|
@searchField={{this.searchField}}
|
|
|
|
@searchMessage={{@searchMessage}}
|
|
|
|
@searchPlaceholder={{this.searchPlaceholderText}}
|
|
|
|
as |resource|
|
2022-08-22 21:24:32 +03:00
|
|
|
>
|
2022-10-21 18:18:00 +03:00
|
|
|
{{resource.title}}
|
|
|
|
</PowerSelect>
|