Skip to main content

Separator

type: "separator"

A labeled separator to structure the form in the dashboard builder. It's not a field, so it doesn't have a name or a value.

Deprecated

Use a layout to structure the fields instead. If a widget defines a layout, separators in the config array are ignored. Within a layout, use the layout separator.

Properties

PropertyTypeRestrictionsDescription
typestringRequiredAlways separator.
labelstringRequiredThe label of the separator.

Example

mobro-widget-config.json
{
"config": [
{
"name": "title",
"label": "Title",
"type": "string"
},
{
"type": "separator",
"label": "Colors"
},
{
"name": "font_color",
"label": "Font color",
"type": "color"
}
]
}