Checkbox

PropertyTypeRequiredDefaultDescription
onChange(e: any) => voidtrue-
defaultCheckedBooleanfalse-Specify whether the toggle should be on by default
checkedBooleanfalse-Specify whether the control is checked
nameAnyfalse-
labelAnyfalse-

Basic usage

As form field

{
  "values": {},
  "errors": {},
  "touched": {},
  "isSubmitting": false,
  "isValidating": false,
  "submitCount": 0,
  "dirty": false,
  "isValid": false,
  "initialValues": {},
  "validateOnChange": true,
  "validateOnBlur": true
}