Skip to main content

Select Field

type: "string"

A simple select of predefined values.

Additional Fields

FieldTypeDescription
defaultValuestring?The optional default value
optionsValueOptionsThe array of possible select options

Example

mobro-widget-config.json
{
"config": [
{
"name": "example",
"label": "Example",
"type": "select",
"options": [
{
"label": "Value 1",
"value": "value1"
},
{
"label": "Value 2",
"value": "value2"
}
]
}
]
}