This key defines the values available to choose from.
Optional, defaults to fetching values from the naming convention (e.g. colors or my_colors for data set colors).
Appears in#
├── Select Input
│ └── options
│ └── values
└── _inputs
└── *
├── Multiselect Input
│ └── options
│ └── values
├── Choice Input
│ └── options
│ └── values
└── Multichoice Input
└── options
└── valuesTypes#
This key defines a reference to a dataset.
Appears in: values.
This key represents an individual text string in the options.values array for Select Inputs.
The value is a string that specifies an available option to choose from.
Appears in: values.
Show examplesHide examples
In this example, we have configured an array of text values for a select input.
_inputs:
category:
type: select
options:
values:
- Blog
- News
- Events{
"_inputs": {
"category": {
"type": "select",
"options": {
"values": [
"Blog",
"News",
"Events"
]
}
}
}
}Appears in: values.
This key represents an individual object in the options.values array for Select Inputs.
Appears in: values.
Show examplesHide examples
In this example, we have configured an array of object values for a select input.
_inputs:
status:
type: select
options:
values:
- icon: edit_note
value: draft
- icon: check_circle
value: published{
"_inputs": {
"status": {
"type": "select",
"options": {
"values": [
{
"icon": "edit_note",
"value": "draft"
},
{
"icon": "check_circle",
"value": "published"
}
]
}
}
}
}Appears in: values.
Examples#
In this example, we have configured a Select Input with custom values to choose from.
_inputs:
category:
type: select
options:
values:
- Blog
- News
- Events{
"_inputs": {
"category": {
"type": "select",
"options": {
"values": [
"Blog",
"News",
"Events"
]
}
}
}
}