How to validate >1 checkbox that was created with Array.prototype.map(), yet at the same time, only show an error message once? Codesandbox inside. #3415
Unanswered
havesomeleeway
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey everyone, I've been stuck on this for awhile and I've tried to describe my situation as best as I can via the title. What I have on my hands is...
I need to
I have a Codesandbox example with two JS files. https://codesandbox.io/s/elegant-mopsa-0jzvl?file=/src/App.js
App.js - My own implementation based on the example given in Formik's tutorial. I can't get the error message to show at all.

Formik.js - Formik's implementation, the error messages show, but they appear across all checkboxes

Any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions