You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(forms): with async validators parent control status is changing wrong #10064
When using async validation for control and its child controls, parent control status changes if validation of child controls complete although its own validation is pending.
So there is a bag with parent control statuses.
For example, form contains one child control. Child controls validation complete before form validation and child control is valid, form status changes to valid too. Then form validation complete and form status changes to invalid.
Activity
kara commentedon Oct 12, 2016
@nick1247 Yep, this is a bug. We should be checking whether the group itself is pending when we calculate status, rather than just its descendants.
DzmitryShylovich commentedon Dec 11, 2016
@nick1247 is this still an issue? can u update the plunkr because it doesn't load?
nick1247 commentedon Dec 11, 2016
@DzmitryShylovich yes
updated plunker
benbraou commentedon Feb 21, 2018
I am going to give this a try (hopefully working on the fix this weekend).
10 remaining items
fix(forms): handle form groups/arrays own pending async validation
angular-automatic-lock-bot commentedon Jul 26, 2020
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(forms): handle form groups/arrays own pending async validation (a…