Skip to content
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

fix(forms): changes to status not always being emitted to statusChanges observable for async validators. #42553

Closed
wants to merge 1 commit into from

Commits on Jun 14, 2021

  1. fix(forms): changes to status not always being emitted to statusChang…

    …es observable for async validators.
    
    When a FormControl, FormArray, or FormGroup is first constructed, if an async validator is attached, the `statusChanges` observable should receive a message when the validator complete (i.e. pending -> valid/invalid). If the validator was provided as part of the constructor options, it was not fired at construction time, which is fixed in this PR.
    
    Fixes angular#35309.
    dylhunn committed Jun 14, 2021
    Copy the full SHA
    996e5fb View commit details
    Browse the repository at this point in the history