- Description:
This key defines the values available to choose from.
Optional, defaults to fetching values from the naming convention (e.g.
colorsormy_colorsfor data setcolors).- Appears in:
└── _inputs └── * ├── Select Input │ └── options │ └── values ├── Multiselect Input │ └── options │ └── values ├── Choice Input │ └── options │ └── values └── Multichoice Input └── options └── values- Types:
This key defines a reference to a dataset.
This key represents an individual text string in the
options.valuesarray for Select Inputs.The value is a string that specifies an available option to choose from.
Show examplesHide examples
In this example, we have configured an array of text values for a select input.
Copied to clipboard_inputs: category: type: select options: values: - Blog - News - Events{ "_inputs": { "category": { "type": "select", "options": { "values": [ "Blog", "News", "Events" ] } } } }This key represents an individual object in the
options.valuesarray for Select Inputs.Show examplesHide examples
In this example, we have configured an array of object values for a select input.
Copied to clipboard_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" } ] } } } }- Examples:
In this example, we have configured a Select Input with custom values to choose from.
Copied to clipboard_inputs: category: type: select options: values: - Blog - News - Events{ "_inputs": { "category": { "type": "select", "options": { "values": [ "Blog", "News", "Events" ] } } } }