Skip to content

Static Options

Options can be used on the following field types: text (as datalist), select, multiselect, radio, multicheckbox, list, and color.

["Option 1", "Option 2", "Option 3"]
[
{"value" : "1", "label" : "Option 1"},
{"value" : "2", "label" : "Option 2"},
{"value" : "3", "label" : "Option 3"}
]
{
"Group 1" : ["Option 1", "Option 2"],
"Group 2" : ["Option 3", "Option 4"]
}
{
"Group 1" : [
{"value" : "1", "label" : "Option 1"},
{"value" : "2", "label" : "Option 2"}
],
"Group 2" : [
{"value" : "3", "label" : "Option 3"},
{"value" : "4", "label" : "Option 4"}
]
}
Field TypeSelectionStored AsUse Case
radioSingleStringMutually exclusive options (size, status, priority)
selectSingleStringDropdown for single choice
multicheckboxMultipleArrayNon-exclusive options (features, amenities, tags)
multiselectMultipleArrayDropdown for multiple choices

Important: Ensure your schema type matches the field behavior:

Radio/Select (single selection):

{
"status": {
"type": "string",
"field": "radio",
"options": ["Draft", "Published", "Archived"]
}
}

Multicheckbox/Multiselect (multiple selection):

{
"tags": {
"type": "array",
"field": "multicheckbox",
"options": ["News", "Featured", "Tutorial"]
}
}

Using the wrong type (e.g., type: "string" with field: "multicheckbox") may cause validation errors or unexpected data storage.