Example for Formik

Check the source code of this page on GitHubexternal-link

Pick One or More
Only Pick One
Rating

Errors

{}

Values

{
 "checkbox": [
  false,
  true,
  false
 ],
 "radiobutton": "Option 2",
 "rating": 2
}

formik props

{
 "touched": {},
 "isSubmitting": false,
 "isValidating": false,
 "submitCount": 0,
 "initialValues": {
  "checkbox": [
   false,
   true,
   false
  ],
  "radiobutton": "Option 2",
  "rating": 2
 },
 "initialErrors": {},
 "initialTouched": {},
 "isValid": true,
 "dirty": false,
 "validateOnBlur": true,
 "validateOnChange": true,
 "validateOnMount": false
}