UserSelectOptions
Defined in: packages/platform-discord/src/components/select.ts:113
Shared options for the auto-populated select menu variants.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”Msg
C extends View.Children<Msg>
Properties
Section titled “Properties”children?
Section titled “children?”
readonlyoptionalchildren?:C
Defined in: packages/platform-discord/src/components/select.ts:110
Inherited from
Section titled “Inherited from”defaultUsers?
Section titled “defaultUsers?”
readonlyoptionaldefaultUsers?: readonlystring[]
Defined in: packages/platform-discord/src/components/select.ts:118
disabled?
Section titled “disabled?”
readonlyoptionaldisabled?:boolean
Defined in: packages/platform-discord/src/components/select.ts:102
Inherited from
Section titled “Inherited from”maxValues?
Section titled “maxValues?”
readonlyoptionalmaxValues?:number
Defined in: packages/platform-discord/src/components/select.ts:104
Inherited from
Section titled “Inherited from”minValues?
Section titled “minValues?”
readonlyoptionalminValues?:number
Defined in: packages/platform-discord/src/components/select.ts:103
Inherited from
Section titled “Inherited from”
readonlyoptionalname?:string
Defined in: packages/platform-discord/src/components/select.ts:107
Inherited from
Section titled “Inherited from”onChange?
Section titled “onChange?”
readonlyoptionalonChange?:Handler<Msg,DiscordInteraction>
Defined in: packages/platform-discord/src/components/select.ts:109
Sends a message with the interaction when the selection changes.
Inherited from
Section titled “Inherited from”placeholder?
Section titled “placeholder?”
readonlyoptionalplaceholder?:string
Defined in: packages/platform-discord/src/components/select.ts:101
Inherited from
Section titled “Inherited from”required?
Section titled “required?”
readonlyoptionalrequired?:boolean
Defined in: packages/platform-discord/src/components/select.ts:106
Whether the select must be answered in a modal.