Open CharlestonREM opened 3 years ago
I want to create a checkbox group with one name and an initialValue of an empty array. But it's not working.
initialValue
Docs seem lacking in regard to multiple choices / array. I hope this issue leads to beefing up the docs for future users.
I attempted to create a checkbox group component with formik-material ui here: https://codesandbox.io/s/cocky-platform-93jqt?file=/src/index.tsx
Hi, did you manage to make it work?
Goal: checkbox group with one name and an array of four values
I want to create a checkbox group with one name and an
initialValue
of an empty array. But it's not working.References
docs lacking multiple checkboxes in group example
Docs seem lacking in regard to multiple choices / array. I hope this issue leads to beefing up the docs for future users.
Codesandbox
I attempted to create a checkbox group component with formik-material ui here: https://codesandbox.io/s/cocky-platform-93jqt?file=/src/index.tsx
screenshots