useCheckboxField()
Last updated
Was this helpful?
Last updated
Was this helpful?
This hook subscribes to the part of the form specified in name
and returns props for checkbox field, meta information, and helpers.
The returned value is almost identical to . The only difference is that the checked
field is present instead of value
.
useCheckboxField
field.checked
For nested values, use name
as described .