Ghost/ghost/admin/app/components/gh-resource-select.hbs

15 lines
421 B
Handlebars
Raw Normal View History

<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 or post"
as |resource|
>
{{resource.name}}
</GhTokenInput>