How to use radio buttons with Formik? #3565
Answered
by
mattdimicelli
mattdimicelli
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mattdimicelli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've referred to the Radio Group example from the Formik documentation, but there is a lot of abstraction going on in the example:
I would like to understand how to implement radio buttons using a less-abstracted syntax. This was my attempt to do so in a project that I'm working on:
Despite my attempt it does not seem to be properly keeping track of the state of the radio buttons. I don't know how to "wire up" the radio buttons with the value, handleChange, handleBlur, etc.
Can anybody help me out?
Beta Was this translation helpful? Give feedback.
All reactions