mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
63b1e4e8ad
no issue - in many places we were passing a string as an argument to a `<PowerSelect>` related component that referred to a component name, that was throwing deprecation warnings because those strings were used dynamically with `{{component}}` later on which isn't statically analyzable - switched to passing a component explicitly with `{{component}}` - https://github.com/embroider-build/embroider/blob/main/REPLACING-COMPONENT-HELPER.md#when-youre-passing-a-component-to-someone-else
15 lines
432 B
Handlebars
15 lines
432 B
Handlebars
<GhTokenInput
|
|
@options={{this.options}}
|
|
@selected={{this.selectedOptions}}
|
|
@disabled={{or @disabled this.fetchOptionsTask.isRunning}}
|
|
@optionsComponent={{component "power-select/options"}}
|
|
@allowCreation={{false}}
|
|
@renderInPlace={{this.renderInPlace}}
|
|
@onChange={{this.onChange}}
|
|
@class="select-members"
|
|
@placeholder="Select a page/post"
|
|
as |resource|
|
|
>
|
|
{{resource.name}}
|
|
</GhTokenInput>
|