-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Closed
Description
I'm submitting a ...
[X] bug report
[ ] feature request
[ ] support request
Current behavior
FormGroup and FormControl don't emit statusChange after first creation (while untouched / pristine?) with asyncValidator.
- Initial status of FormGroup and FormControl is "PENDING"
- Both status changes to "VALID" or "INVALID"
- statusChange is not emitted
Expected behavior
statusChange should always be emitted.
Minimal reproduction of the problem with instructions
- Create a FormGroup with the FormBuilder and add a FormControl with asyncValidator(e.g. with a TimeOut Promise of 2sec).
- Subscribe to FormGroup.statusChange or FormGroup.controls.key.statusChange
Angular version
2.4.1
xealot, davidbarratt, jackkoppa, RobYed, WoodyWoodsta and 44 more