-HTML tags
-Custom Components
(Checkbox and CheckboxSubGroup)
β
helptext
string
β
disabled
boolean
β
error
boolean
β
errorMessage
string
β
onChange
function event
β
The properties marked with a ? are optionals.
Children
To generate the structure required for the checkboxGroup, the developer is able to insert the following components as children elements:
Checkbox
Consult the Checkbox chapter to know more about the props it receives.
CheckboxSubGroup
Props
Data Type
Required
children
HTML Tags
Custom Components
(Checkbox)
β
label
string
β
At using Checkbox or CheckboxSubGroup inside a CheckboxGroup component, they are going to receive the error, disabled and onChange events by default and the developer should not include them in the code.
Event Response
This component is not sending any response, instead, it is just facilitating the individual Checkbox components events.
onChange
Components Dependency
For this component elaboration there were used the following internal components: