-
Notifications
You must be signed in to change notification settings - Fork 42
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
Regression in date validation #970
Labels
Comments
Fixed in: #971 |
Works fine! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scenario: We have 2 date fields, start and end. Start must be before end, and end must be after start.
In previous versions of pat-validation, if the condition "start must be before end" was not met, both fields were marked is invalid.
It was possible to correct the error in either of the fields. Either by moving start before end, or by moving end after start. The validation error was cleared from both fields (and the form in general).
With the current bundle, the mutual dependency is lost. The validation error only applies to the field that was last changed (start in this case).

Fixing the wrong date in the other field has no effect on the validation error.
The text was updated successfully, but these errors were encountered: