2022-02-28 13:38:44 +03:00
|
|
|
<GhTokenInput
|
|
|
|
@options={{this.options}}
|
|
|
|
@selected={{this.selectedOptions}}
|
|
|
|
@disabled={{or @disabled this.fetchOptionsTask.isRunning}}
|
2022-09-24 18:00:05 +03:00
|
|
|
@optionsComponent={{component "power-select/options"}}
|
2022-02-28 13:38:44 +03:00
|
|
|
@allowCreation={{false}}
|
|
|
|
@renderInPlace={{this.renderInPlace}}
|
|
|
|
@onChange={{this.setSegment}}
|
|
|
|
@class="select-members gh-tier-token-input"
|
|
|
|
@placeholder="Select a tier"
|
|
|
|
as |option|
|
|
|
|
>
|
|
|
|
<span data-test-tiers-segment={{option.name}}>{{option.name}}</span>
|
|
|
|
</GhTokenInput>
|
|
|
|
|
|
|
|
{{#if @showMemberCount}}
|
|
|
|
<GhMembersSegmentCount
|
|
|
|
@segment={{@segment}}
|
|
|
|
@enforcedFilter={{@enforcedCountFilter}}
|
|
|
|
@onSegmentCountChange={{@onSegmentCountChange}}
|
|
|
|
/>
|
|
|
|
{{/if}}
|