How to update Formik Field from external actions
I solved my problem rendering my modal component inside my Fomik functional component. And then, for the callBack of my modal component I just wrote a method that will receive the Formiks setFieldValue reference. Then was possible to manually set the data into Formik’s state: My Modal Component inside Formik’s component: <Formik enableReinitialize={true} initialValues={props.quoteData} validationSchema={QuoteFormSchema} … Read more