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

refactor composeValidators to stay sync when possible #6186

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

ThieryMichel
Copy link
Contributor

composeValidators was always returning an aysnchronous validator even when all received validator were synchronous.
This change has it stay synchronous when possible.

This should resolve #6049 when using synchronous validator.

@djhi djhi added this to the 3.14.4 milestone Apr 19, 2021
@djhi djhi merged commit 3e8575d into master Apr 19, 2021
@djhi djhi deleted the smart_compose_validator branch April 19, 2021 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conditional rendering a component that handle validation logic breaks "Save"
2 participants