jaredpalmer / formik

Build forms in React, without the tears 😭
https://formik.org
Apache License 2.0
34.02k stars 2.79k forks source link

Not the good example in useFormik page #2094

Open theocerutti opened 4 years ago

theocerutti commented 4 years ago

Hello,

I just want to let you know the example of this page (https://jaredpalmer.com/formik/docs/api/useFormik#docsNav) says the example is a 'example of a form that works similarly to Stripe's 2-factor verification form' but it's not.

PS: formik is really good !

thexpand commented 4 years ago

I was about to post the same issue. It's good to have GitHub's issue suggestions :smile: However, I think you got the link wrong, it's here: https://jaredpalmer.com/formik/docs/api/useFormik#example

But.. yeah - it's the wrong example of a sign-up form instead of Stripe's 2-factor veritication.

UPDATE: The example actually exists on the documentation page for useFormikContext: https://jaredpalmer.com/formik/docs/api/useFormikContext#example

I'm not sure if it has to be on both pages, so that we can copy the example or just get rid of it from one place or the other.

Betree commented 9 months ago

This looks resolved, I don't see any mention of it on https://formik.org/docs/api/useFormik#docsNav.