formik icon indicating copy to clipboard operation
formik copied to clipboard

added: ability to pass submit context to onSubmit handler

Open avasuro opened this issue 4 years ago • 10 comments

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)


View rendered docs/api/formik.md

avasuro avatar Apr 23 '20 10:04 avasuro

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

vercel[bot] avatar Apr 23 '20 10:04 vercel[bot]

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

codesandbox-ci[bot] avatar Apr 23 '20 10:04 codesandbox-ci[bot]

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?

johnrom avatar Apr 23 '20 14:04 johnrom

Any update on this? @johnrom ?

RealDrewKlayman avatar Jul 07 '20 20:07 RealDrewKlayman

I don't maintain the Formik API so I'll defer to a maintainer here.

johnrom avatar Jul 07 '20 20:07 johnrom

Any update on this? @jaredpalmer

hrushilok avatar Jul 09 '20 05:07 hrushilok

@avasuro @jaredpalmer any update in this ??

boopathit avatar Sep 18 '20 11:09 boopathit

Any update :)

tpettrov avatar Nov 11 '20 16:11 tpettrov

@jaredpalmer any update on this?

peawyoyoyin avatar Aug 26 '21 07:08 peawyoyoyin

@jaredpalmer sorry for disturb, could you take a look on this?

avasuro avatar Sep 11 '23 15:09 avasuro