
This component is returned by
useForm().Example
approval-dialog.tsx
Grouping multiple checkboxes
To group multiple related checkboxes together, wrap them in a<Fieldset />. When wrapped in a fieldset, the checkbox labels will be rendered on the right side of the checkbox instead of above it:
When checkboxes are wrapped in a
<Fieldset /> , their labels are rendered on the right side of the checkbox instead of above it.Props
The label of the input field.
The path to the
boolean value of the input field in your form schema.e.g. "is_active", "shipping.is_express"Whether or not the field should be disabled.Defaults to
false (not disabled).