field.select

Button for selecting from a drop-down list. Use this component when the list is long and only one option can be chosen.

For short lists (2-4 items), it's better to use field.radio-group or field.button-radio-group, where all the options are visible at once.

To allow selecting multiple options, use the field.checkbox-group component.

Component properties

Name

Type

Description

type*

"field.select"

Set component type

data*

writable

Data with values that will be processed or changed.

label

string

Label above the component.

hint

string

Hint text.

options*

array

Options to choose from.

options[]

object

Option parameters.

options[].label*

string

The name of the option to display in the list.

options[].value*

any

The value to write to the data in the data property.

placeholder

string

The text that will be displayed if none of the options is selected.

validation

condition

Validation based on condition.