Select Field
type: "string"
A simple select of predefined values.
Additional Fields
Field | Type | Description |
---|---|---|
defaultValue | string? | The optional default value |
options | ValueOptions | The 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"
}
]
}
]
}