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

15 lines
432 B
Handlebars
Raw Normal View History

<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>