Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: async validating #473

Merged
merged 1 commit into from
Mar 3, 2023
Merged

Conversation

xxleyi
Copy link
Contributor

@xxleyi xxleyi commented Feb 26, 2023

@gertdreyer
Copy link
Collaborator

Hi @xxleyi , can you please add a test that fails prior to your change and passes afterwards? Thus we can ensure we have no regression of the same issue in the future

@xxleyi
Copy link
Contributor Author

xxleyi commented Mar 3, 2023

@gertdreyer Test has already been provided by @iamdey in react-final-form, final-form/react-final-form#1018. I tried and it worked well.

@gertdreyer
Copy link
Collaborator

Can you include that test in the automated testing?

@xxleyi
Copy link
Contributor Author

xxleyi commented Mar 3, 2023

@gertdreyer these are two repo, you mean I include that test in final-form?

@gertdreyer
Copy link
Collaborator

It should be possible to do it in a vanilla JS test in this repo - if you want to attempt that, otherwise, I am happy to merge as is due to the existing bug examples and tests being in RFF.

@xxleyi
Copy link
Contributor Author

xxleyi commented Mar 3, 2023

@gertdreyer I don't have many experience on JS test, so maybe merge firstly? I will try add test later.

@gertdreyer gertdreyer merged commit d20c44b into final-form:main Mar 3, 2023
@xxleyi
Copy link
Contributor Author

xxleyi commented Jul 26, 2023

@gertdreyer Sorry to bother, I added test PR #475, and we are still meeting this problem, can we publish a new version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Async validator on unregister set validating to true
2 participants