Skip to main content
Version: 0.37.110

APIStringSelectComponent

Hierarchy

Index

Properties

custom_id

custom_id: string

A developer-defined identifier for the select menu, max 100 characters

optionaldisabled

disabled?: boolean = ```ts false ```

Disable the select

optionalmax_values

max_values?: number = ```ts 1 ```

The maximum number of items that can be chosen; max 25

optionalmin_values

min_values?: number = ```ts 1 ```

The minimum number of items that must be chosen; min 0, max 25

options

Specified choices in a select menu; max 25

optionalplaceholder

placeholder?: string

Custom placeholder text if nothing is selected, max 150 characters

type

type: StringSelect

The type of the component