-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Dropdown stays with red border after form reset #11503
Comments
After some more tests the issue stopped reproducing (maybe StackBlitz cache). |
Have the same issue. After updating to 13.4.1 |
Hi, Will be fixed in the next release. Regards |
By major you mean 14? That would be unfortunate, because it's a regression that won't allow us to update primeng to 13.4.1 in production. We will be forced to stay on 13.3.3 until this is fixed |
Hi, Sorry for typo Regards |
Fixed #11503 - Dropdown | red border stays after form reset
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Broken on PrimeNG 13.4.0 with Angular 13.3.6: https://stackblitz.com/edit/primeng-dropdown-demo-bcgj5v?file=src/app/app.component.html
Same code working on PrimeNG 13.3.3 with Angular 13.3.6: https://stackblitz.com/edit/primeng-dropdown-demo-trx91m?file=src/app/app.component.html
Current behavior
The dropdown component on a reactive form stays invalid (with a red border and containing class
ng-dirty
) after the form is reset.Expected behavior
The red border should disappear after the form is resetted, class
ng-dirty
should be replaced byng-pristine
..Minimal reproduction of the problem with instructions
The text was updated successfully, but these errors were encountered: