fieldset
This component is a special container and therefore also a "collection component" for other Components.
Configuration
For general configuration options, see General component configuration.
Specific configuration
type("fieldset")-
Type of component.
components(array<Component>)-
List of Components.
layout(enum<"vertical" | "horizontal">)-
Alignment of the content.
Example
fieldset.json
{
"$schema": "https://forms.virtimo.net/5.1.0/schema.json",
"metaData": {
"id": 0,
"version": 0
},
"configuration": {
},
"components": [
{
"type": "fieldset",
"layout": "horizontal",
"label": "Horizontal fieldset",
"components": [
{
"type": "html",
"value": "First element in horizontal fieldset",
"flex": 1
},
{
"type": "html",
"value": "Second element in horizontal fieldset",
"flex": 1
},
{
"type": "fieldset",
"layout": "vertical",
"label": "Vertical fieldset",
"flex": 1,
"components": [
{
"type": "html",
"value": "First element in vertical fieldset"
},
{
"type": "html",
"value": "Second element in vertical fieldset"
}
]
}
]
}
]
}
Embedded preview
Keywords: