Integration with Formik? #692
Replies: 1 comment
-
Figured it out! Just learned about Formik's |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi everyone,
Bit new here, but just curious if anyone's had any success integrating Tremor's Select component with Formik. I'm having trouble synchronizing the Formik value with the current selected value. Is there some way to be using
onValueChange
along with Formik'shandleChange
. Small example below of what I've been trying.I see that onValueChange is
(s: string) => void
, while Formik's handleChange is(e: React.ChangeEvent<any>) => void
and I assume this is where I'm tripping up.Thanks for your help! Really enjoying Tremor so far.
Beta Was this translation helpful? Give feedback.
All reactions