Tabs
type: "tabs"
Simple tabs to structure fields and layouts.
Additional Fields
Field | Type | Description |
---|---|---|
children | Tab[] | An array of tab layouts |
type: "tab"
A simple tab, can only be used as child of the tabs layout.
Additional Fields
Field | Type | Description |
---|---|---|
label | string | The label of the tab |
children | layout | Sub layout definition, within the tab |
Example
mobro-widget-config.json
{
"layout": [
{
"type": "tabs",
"children": [
{
"type": "tab",
"label": "Tab 1",
"children": [
"field_a",
{
"type": "fieldset",
"label": "Subfielset",
"children": [
"field_b"
]
}
]
},
{
"type": "tab",
"label": "Tab 2",
"children": [
"field_c",
"field_d"
]
}
]
}
]
}