-
Notifications
You must be signed in to change notification settings - Fork 24
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
removeClass() on container should not be called if at least one control inside is invalid #25
Comments
I have recorded screen with this error, you can find it here: https://youtu.be/9Bhj12MoUYQ |
I have 2 workarounds:
|
Is behavior of |
Behaviour is same, i use it because of being able to use I just realised i did not try replacing I was just curious, why does |
Maybe Anyway, I'm not sure what proper solution would look like, as I think you will have same problem when you would use more inputs in same container. So one input will remove the error because it doesn't know that some other input shares the same container... |
It causes issues, when i have input that is beign validated and is invalid with same container as tag -> button tag is marked as valid, input is invalid -> "hasError" class is beign removed on container, which is side effect.
The text was updated successfully, but these errors were encountered: