-
Hi. I am trying to implement a lookup that populates another form on the page. I have this functionally working using a loader function and Here's a quick example Screen.Recording.2022-04-25.at.14.00.18.movI can't see any functions that can be called client-side to revalidate or at least clear all existing validations on the form. Is there something I'm missing here? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Adding a form-wide For now, for this use-case you could pass a |
Beta Was this translation helpful? Give feedback.
Adding a form-wide
validate
orclearErrors
is a feature that's on my radar. Hopefully I'll have time to add it soon. It might even be worth adding anreinitialize
option similar to what formik has.For now, for this use-case you could pass a
formRef
to the validated form and callformRef.current.reset()
after the new default values have been populated. Or adding akey
prop to the form that changes when the default values change would also work.