Formik: After submitting a form the isSubmitting property is automatically set back to false without calling setSubmitting()

Created on 1 Nov 2019  路  3Comments  路  Source: formium/formik

馃悰 Bug report

Current Behavior

After submitting a form the isSubmitting property is automatically set back to false without calling setSubmitting(). Note how fields and buttons are disabled after clicking submit, but then become reenabled.
isSubmitting

Expected behavior

isSubmitting should remain true until developer calls setSubmitting(true)

Your environment

| Software | Version(s) |
| ---------------- | ---------- |
| Formik | 2.0.3
| React | 16.11.0
| Browser | Chrome
| npm/Yarn | NPM
| Operating System | Windows

stale

Most helpful comment

This looks like a dupe of #1957

All 3 comments

This looks like a dupe of #1957

I can confirm the issue, not on all forms but on some, weird...

Can confirm it fixed in 2.1 in my case.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jaredpalmer picture jaredpalmer  路  3Comments

outaTiME picture outaTiME  路  3Comments

ancashoria picture ancashoria  路  3Comments

najisawas picture najisawas  路  3Comments

jordantrainor picture jordantrainor  路  3Comments