checkboxgroup
This component generates a list of elements of the Checkbox component.
Configuration
For general configuration options, see General component configuration.
General configuration
In addition to the configurations valid for all, the following configurations can optionally be set: disabled, //errorTarget, icon, label, label settings, //onChange, //readOnly, required.
Example
checkboxgroup.json
{
"$schema": "https://forms.virtimo.net/5.1.0/schema.json",
"metaData": {
"id": 0,
"version": 0
},
"configuration": {},
"components": [
{
"type": "container",
"label": "Checkboxgroup Component Example",
"components": [
{
"type": "checkboxgroup",
"label": "checkbox group",
"components": [
{
"value": "${/data/checkboxGroup/one}",
"type": "checkbox",
"label": "one"
},
{
"value": "${/data/checkboxGroup/two}",
"type": "checkbox",
"label": "two"
},
{
"value": "${/data/checkboxGroup/three}",
"type": "checkbox",
"label": "three"
}
]
}
]
}
],
"state": {
"data": {
"checkboxGroup": {
"one": true,
"two": false,
"three": true
}
}
}
}
Embedded preview
Keywords: