d9fea857db
This commit ensures that the `updateValueAndValidity` method takes the `asyncValidator` into consideration to emit on the `statusChanges` observables. This is necessary so that any subsequent changes are emitted properly to any subscribers. Closes #20424 Closes #14542 BREAKING CHANGE: Previously if FormControl, FormGroup and FormArray class instances had async validators defined at initialization time, the status change event was not emitted once async validator completed. After this change the status event is emitted into the `statusChanges` observable. If your code relies on the old behavior, you can filter/ignore this additional status change event. PR Close #38354 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
directives_spec.ts | ||
form_array_spec.ts | ||
form_builder_spec.ts | ||
form_control_spec.ts | ||
form_group_spec.ts | ||
reactive_integration_spec.ts | ||
spies.ts | ||
template_integration_spec.ts | ||
util.ts | ||
validators_spec.ts | ||
value_accessor_integration_spec.ts |