Select
Renders a select input and returns the value of the selected option. Takes an options
parameter which defines the options in the select, this is an array of label-value pairs. If no default
is specified the first option
will be set as the initial value.
syntax
---
my_variable:
type: select
default: opt_1
options:
- label: Option 1
value: opt_1
- label: Option 2
value: opt_2
---
{{ my_variable }}