angular-docs-cn/packages/forms/test
Andrew Kushnir ad7046b934 feat(forms): AbstractControl to store raw validators in addition to combined validators function (#37881)
This commit refactors the way we store validators in AbstractControl-based classes:
in addition to the combined validators function that we have, we also store the original list of validators.
This is needed to have an ability to clean them up later at destroy time (currently it's problematic since
they are combined in a single function).

The change preserves backwards compatibility by making sure public APIs stay the same.
The only public API update is the change to the `AbstractControl` class constructor to extend the set
of possible types that it can accept and process (which should not be breaking).

PR Close #37881
2020-07-21 10:30:19 -07:00
..
BUILD.bazel test: disable failing saucelabs tests (#36620) 2020-04-14 10:13:33 -07:00
directives_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
form_array_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
form_builder_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
form_control_spec.ts feat(forms): AbstractControl to store raw validators in addition to combined validators function (#37881) 2020-07-21 10:30:19 -07:00
form_group_spec.ts fix(forms): handle form groups/arrays own pending async validation (#22575) 2020-06-25 12:07:25 -07:00
reactive_integration_spec.ts fix(forms): handle form groups/arrays own pending async validation (#22575) 2020-06-25 12:07:25 -07:00
spies.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
template_integration_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
validators_spec.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
value_accessor_integration_spec.ts fix(forms): correct usage of `selectedOptions` (#37620) 2020-06-25 12:08:00 -07:00