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

NameTypeDescription
type*"field.select"

Set component type

data*writable

Data with values that will be processed or changed.

labelstring

Label above the component.

hintstring

Hint text.

options*array

Options to choose from.

options[]object

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.

placeholderstring

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

validationcondition

Validation based on condition.