How can I use Formik data as an object variable #3718
Unanswered
KeremShtyn
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
-
I want to assign an object and use its variable with Formik like below
const formik = useFormik({
initialValues: {
email: 'johndoe@example.com',
password: 'john',
users:[{
firstName: "123",
secondName: "",
}]
},
However, I do not actually know how to handle changing for data value
Can anyone help me?
Beta Was this translation helpful? Give feedback.
All reactions