Input.select
Displays a dropdown field, allowing a user to select an option from a pre-defined list.
Usage
Preview
Runtime State
The value in the runtime state is the selected object from the select input. You can use dot notation to access the desired property for either the label or the value.
As demonstrated by the Usage example above, you can access variables from the Runtime State via the “{{selectInput.value}}” syntax from elsewhere in your Buttonize app.
Props
id
Required
The name of the variable containing the selected option. This variable can then be referenced elsewhere in your Buttonize app.
options
Required
An array of options. Each option should have a label
and value
key
set.
label
Optional
Text to display above the select input.
disabled
Optional
Whether or not the input is disabled. Default is false
.
placeholder
Optional
Placeholder text for the select input.
multi
Optional
Enables multi-select functionality. Default is false
.
initialValue
Optional
Initial selected value or values for the select input. Use an array for multi-select.
spacingTop
Optional
The amount of space to give above the component.
spacingBottom
Optional
The amount of space to give below the component.
width
Optional