Interface: MultiExternalSelect
Defined in: block-kit/block-elements.ts:457
Description
This menu will load its options from an external data source, allowing for a dynamic list of options.
See
- Multi-select menu of external data source reference.
- This is an interactive component - see our guide to enabling interactivity.
Extends
Properties
action_id?
optional action_id: string;
Defined in: block-kit/extensions.ts:15
@description: An identifier for this action. You can use this when you receive an interaction payload to
identify the source of the action. Should be unique
among all other action_id
s in the containing block. Maximum length for this field is 255 characters.
Inherited from
confirm?
optional confirm: ConfirmationDialog;
Defined in: block-kit/extensions.ts:25
Description
A Confirm object that defines an optional confirmation dialog after the element is interacted with.
Inherited from
focus_on_load?
optional focus_on_load: boolean;
Defined in: block-kit/extensions.ts:42
Description
Indicates whether the element will be set to auto focus within the
`view` object. Only one element can be set to true
.
Defaults to false
.
Inherited from
initial_options?
optional initial_options: PlainTextOption[];
Defined in: block-kit/block-elements.ts:466
Description
An array of options to be selected when the menu initially loads.
max_selected_items?
optional max_selected_items: number;
Defined in: block-kit/extensions.ts:49
Description
Specifies the maximum number of items that can be selected. Minimum number is 1.
Inherited from
MaxItemsSelectable
.max_selected_items
min_query_length?
optional min_query_length: number;
Defined in: block-kit/block-elements.ts:472
Description
When the typeahead field is used, a request will be sent on every character change. If you prefer
fewer requests or more fully ideated queries, use the min_query_length
attribute to tell Slack the fewest number
of typed characters required before dispatch. The default value is 3
.
placeholder?
optional placeholder: PlainTextElement;
Defined in: block-kit/extensions.ts:57
Description
A PlainTextElement object that defines the placeholder text shown on the element. Maximum
length for the text
field in this object is 150 characters.
Inherited from
type
type: "multi_external_select";
Defined in: block-kit/block-elements.ts:461
Description
The type of element. In this case type
is always multi_external_select
.