Skip to main content

Fieldset

type: "fieldset"

A group of fields with an optional label. Fieldsets can be collapsible, which helps to hide advanced options.

Properties

PropertyTypeRestrictionsDescription
typestringRequiredAlways fieldset.
labelstring-The label of the fieldset.
collapsibleboolean-Whether users can collapse the fieldset.
collapsedboolean-Whether a collapsible fieldset is collapsed by default.
childrenlayout-The field names and layout elements within the fieldset.

Example

mobro-widget-config.json
{
"layout": [
{
"type": "fieldset",
"label": "Advanced",
"collapsible": true,
"collapsed": true,
"children": [
"field_a",
"field_b"
]
}
]
}