react-final-form
react-final-form copied to clipboard
fix: submitting persisting true state
This issue is connected with this PR https://github.com/final-form/react-final-form/pull/513/files
When onSubmit returns without delay update batches and re-render never happens.
This will fix issue with subscription
and submitting
where submitting
will stay true
even thought the updated value should be false
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 c113dd85ae22443773ee4afe1e27111e1ff4fec5:
Sandbox | Source |
---|---|
React Final Form - Simple Example | Configuration |
React Final Form - Synchronous Record Level Validation | Configuration |
React Final Form - Synchronous Field Level Validation | Configuration |
React Final Form - Submission Errors | Configuration |
final-form/react-final-form | Configuration |
Also closes final-form/final-form#412