formik
formik copied to clipboard
added: ability to pass submit context to onSubmit handler
This closes #1792, closes #214
Previous discussion you can see in this PR: https://github.com/jaredpalmer/formik/pull/2379 (closed because there were no ability to add new commits to it)
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/jared/formik-docs/32bqiagbv ✅ Preview: https://formik-docs-git-fork-avasuro-feat-add-submit-context.jared.now.sh
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 9990e0aafeaeff434eebb8bf72029ca7c837835b:
Sandbox | Source |
---|---|
Formik TypeScript Playground | Configuration |
The documentation should state that handleSubmit passes the submit event as submitContext by default. Other than that I'm ok with these changes since they're commonly requested. @jaredpalmer what do you think?
Any update on this? @johnrom ?
I don't maintain the Formik API so I'll defer to a maintainer here.
Any update on this? @jaredpalmer
@avasuro @jaredpalmer any update in this ??
Any update :)
@jaredpalmer any update on this?
@jaredpalmer sorry for disturb, could you take a look on this?