react-final-form icon indicating copy to clipboard operation
react-final-form copied to clipboard

fix: submitting persisting true state

Open Karadjordje opened this issue 3 years ago • 1 comments

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

Closes #875, #903

Karadjordje avatar Feb 09 '22 00:02 Karadjordje

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

codesandbox-ci[bot] avatar Feb 09 '22 00:02 codesandbox-ci[bot]

Also closes final-form/final-form#412

gertdreyer avatar Mar 02 '23 20:03 gertdreyer