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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form set to pending when there are both invalid and pending children #27487

Open
kram1138 opened this Issue Dec 5, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@kram1138

kram1138 commented Dec 5, 2018

馃悶 bug report

Affected Package

@angular/forms

Description

When an AbstractControl contains multiple children, one of which is invalid and one of which is pending, the AbstractControl's status is set to pending. If a child control is invalid, the AbstractControl should have an invalid status, regardless of whether there are pending children.

馃敩 Minimal Reproduction

https://stackblitz.com/edit/angular-issue-repro2-fvekjx

@ngbot ngbot bot added this to the needsTriage milestone Dec 6, 2018

@kara kara added type: feature and removed type: bug/fix labels Dec 6, 2018

@ngbot ngbot bot modified the milestones: needsTriage, Backlog Dec 6, 2018

@kara kara added the freq2: medium label Dec 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment