A Checkbox Component is a form input that allows users to select more options from a predefined list. It supports multiple selections and can include an indeterminate state to indicate partial selection.
The Checkbox Component is used to capture discrete choices from the user. Key features include:
value and label.type is set to "array".required is true.Complete JSON Object
{
"key":"InputKey",
"type":"checkbox",
"props":{
"label":"Input Name",
"indeterminate":false,
"required":true,
"default":false,
"type":"array",
"description": "Description",
"options":[
{
"value":"Python",
"label":"Python"
},
{
"value":"Java",
"label":"Java"
}
]
},
"validation":{
"messages":{
"required":"Error message for required"
}
}
}
Allowed Custom Properties
Allowed Validations