Mentionable Select

BlockAdvanced Messages

Mentionable select menu for advanced messages and modals.

Inputs

Custom IDRequired

Custom ID for this select component (1-100 chars).

Example: reason_select

Placeholder

Placeholder text when no value is selected.

Example: Choose an option

Min Values

Minimum selected values (0-25).

Example: 1

Max Values

Maximum selected values (1-25). Defaults to 1.

Example: 1

Disabled

Whether this select is disabled.

Optionstruefalse

Where it goes

This block can only be placed inside Action Row or Modal Label.

Build a bot using blocks like Mentionable Select

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: advmsgcmp_interaction_select_mentionable
  • Can only be placed inside advmsgcmp_layout_actionrow (children), modalcmp_layout_label (component).

Inputs

FieldInventScript nameValue
Custom IDcustom_ide.g. "reason_select"
Placeholderplaceholdere.g. "Choose an option"
Min Valuesmin_valuese.g. "1"
Max Valuesmax_valuese.g. "1"
Disableddisabled"true", "false"

Example InventScript

advmsgcmp_layout_actionrow(Args{
	children: func() {
		advmsgcmp_interaction_select_mentionable(Args{custom_id: "reason_select"})
	},
})

More advanced messages blocks