Ghost/ghost/admin/app/components/gh-resource-select.hbs
2022-09-01 13:09:23 +01:00

15 lines
418 B
Handlebars

<GhTokenInput
@options={{this.options}}
@selected={{this.selectedOptions}}
@disabled={{or @disabled this.fetchOptionsTask.isRunning}}
@optionsComponent="power-select/options"
@allowCreation={{false}}
@renderInPlace={{this.renderInPlace}}
@onChange={{this.onChange}}
@class="select-members"
@placeholder="Select a page/post"
as |resource|
>
{{resource.name}}
</GhTokenInput>