We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isSubmitting
1 parent b3190f2 commit 868b8f0Copy full SHA for 868b8f0
docs/guides/form-submission.md
@@ -57,8 +57,9 @@ Disable whatever is triggering submission if `isSubmitting` is `true`.
57
If `isValidating` is `true` and `isSubmitting` is `true`.
58
59
</details>
60
-<summary>Why does `isSubmitting` remain `true` after submission?</summary>
+
61
<details>
62
+<summary>Why does isSubmitting remain true after submission?</summary>
63
If the submission handler returns a promise, make sure it is correctly resolved or rejected when called.
64
If the submission handler does not return a promise, make sure `setSubmitting(false)` is called at the end of the handler.
65
0 commit comments