how to get typed data type using useFormContext.validate() #348
Unanswered
VytautasMartusevicius
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
-
Currently, when you validate with useFormContext.validate(), the data returned is unknown. How to get the proper data structure that's defined with validator?
From the internal workings the return type is unknown
Would it be hard to make it the data type of validator?
Currently I use the workaround of validating two times:
Beta Was this translation helpful? Give feedback.
All reactions