[Feature Request] Allow validators.onSubmit to pass data to onSubmit #1373
Unanswered
Choco-milk-for-u
asked this question in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
please see: #418 (comment) and #1345 (comment).
Since it might be difficult to implement a way to pass the Zod schema's output type into the onSubmit function and it may not be intended behavior for many users. I think it could be a good idea to allow passing additional values from validators.onSubmit to onSubmit. Adding additional values from validators is also useful in my opinion.
Beta Was this translation helpful? Give feedback.
All reactions