Skip to content

Select

The Select element is a dropdown that lets users choose one value from a predefined list of options.

Properties

PropertyTypeDescription
labelstringField label
clearablebooleanShow a clear/reset button to deselect the current value
optionsarrayThe list of choices — see below

Plus shared layout properties.

Options

Each entry in the options array has three fields:

FieldDescription
labelThe display text shown to the user
keyA unique identifier for this option within the list
valueThe value submitted when this option is selected — can be a string or a number

TIP

label and value can differ. For example, you might display "United Kingdom" to the user while submitting "GB" as the value.


See also: Elements overview

S-Launch