Skip to main content
Version: 0.37.105

APISelectMenuComponent

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Hierarchy

Index

Properties

custom_id

custom_id: string

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

optionaldisabled

disabled?: boolean

Disable the select

@default

false

optionalmax_values

max_values?: number

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

@default

1

optionalmin_values

min_values?: number

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

@default

1

options

The choices in the select, max 25

optionalplaceholder

placeholder?: string

Custom placeholder text if nothing is selected, max 100 characters

type

type: SelectMenu

The type of the component