angular/packages/forms/test
Matthieu Riegler 2e27ca9ddf fix(forms): Allow canceled async validators to emit. (#55134)
With this change, If an async validator that should have emitted was cancelled by a non-emitting validator, the status change will be reported on the `AbstractControl.events` observable.

This issue can happen when a `FormControl` is added to a `FormGroup` and a FormGroupDirective/FormControlDirective trigger a non-emitting validation (which cancels the initial validator execution).

Note: The behavior remains the same of the existing `statusChanges` observable as the change was too breaking to land in G3.

fixes: angular#41519

PR Close #55134
2024-05-15 08:56:26 -07:00
..
BUILD.bazel refactor: update forms package tests to work with ES2020 ESM (#48521) 2022-12-19 19:50:43 +00:00
directives_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
form_array_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
form_builder_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
form_control_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
form_group_spec.ts fix(forms): Allow canceled async validators to emit. (#55134) 2024-05-15 08:56:26 -07:00
reactive_integration_spec.ts fix(forms): Add event for forms submitted & reset (#55667) 2024-05-09 09:21:15 -07:00
template_integration_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
typed_integration_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
util.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
validators_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
value_accessor_integration_spec.ts refactor: migrate forms to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00