Skip to content

fix: submitting persisting true state#972

Merged
gertdreyer merged 1 commit into
final-form:mainfrom
Karadjordje:main
Mar 2, 2023
Merged

fix: submitting persisting true state#972
gertdreyer merged 1 commit into
final-form:mainfrom
Karadjordje:main

Conversation

@Karadjordje

@Karadjordje Karadjordje commented Feb 9, 2022

Copy link
Copy Markdown
Contributor

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

This will fix issue with `subscription` and `submitting` where `submitting` will stay `true` even thought the updated value should be `false` 

Closes [final-form#875](final-form#875), [final-form#903](final-form#903)
@codesandbox-ci

codesandbox-ci Bot commented Feb 9, 2022

Copy link
Copy Markdown

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 c113dd8:

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
@gertdreyer

Copy link
Copy Markdown
Contributor
@gertdreyer gertdreyer merged commit 04019ac into final-form:main Mar 2, 2023
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants