CheckboxGroup
CheckboxGroup
component is a wrapper for
Checkbox
component, it can be
used to group multiple checkboxes in one component.
You can use default slot to pass a custom label for
CheckboxGroup
.
Using key prop you can to choose which field of object should bind to
value
.
You can use
color
property to define background color for all
Checkboxes
inside the
CheckboxGroup
Group checkboxes on the same horizontal row by setting
inline
boolean property.
Put checkboxes on the opposite side with the
reverse
boolean property.
You can use
items
property to pass an array of items to
CheckboxGroup
component.