← Back
Select
This component displays a selection dropdown.
Input:
[var name:"selectVal" value:"test1" /]
[Select value:selectVal options:`["test1", "test2"]` /]
Output:
Props
- value
string
The currently selected value.
- Example:
x
- Example:
- options
array
An array representing the different options. Can be an array of strings like
["val1", "val2"]
or an array of objects[{ value: "val1", label: "Value 1" }, { value: "val2", label: "Value 2" }]
.- Example:
`["option1", "option2"]`
- Example: