angular-cn/packages/forms/test
Andrew Kushnir 8a9fe49a2a fix(forms): properly handle the change to the FormGroup shape (#40829)
Currently the code in the `FormGroupDirective` assumes that the shape of the underlying `FormGroup` never
changes and `FormControl`s are not replaced with other types. In practice this is possible and Forms code
should be able to process such changes in FormGroup shape.

This commit adds extra check to the `FormGroupDirective` class to avoid applying FormControl-specific to
other types.

Fixes #13788.

PR Close #40829
2021-03-12 14:23:01 -08:00
..
BUILD.bazel test: disable failing saucelabs tests (#36620) 2020-04-14 10:13:33 -07:00
directives_spec.ts refactor(forms): move common validators-related logic to the `AbstractControlDirective` class (#38280) 2020-10-28 09:48:20 -07:00
form_array_spec.ts feat(forms): add `emitEvent` option for AbstractControl-based class methods (#31031) 2021-02-16 08:42:08 -08: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 test(forms): verify that an object is not a boxed value if only `disabled` field is present (#39801) 2020-11-23 08:25:08 -08:00
form_group_spec.ts feat(forms): add `emitEvent` option for AbstractControl-based class methods (#31031) 2021-02-16 08:42:08 -08:00
reactive_integration_spec.ts fix(forms): properly handle the change to the FormGroup shape (#40829) 2021-03-12 14:23:01 -08:00
spies.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
template_integration_spec.ts feat(forms): introduce min and max validators (#39063) 2021-02-08 09:34:50 -08:00
util.ts refactor(forms): refactor common validators used in unit tests (#38020) 2020-07-22 20:42:43 -07:00
validators_spec.ts refactor(forms): get rid of duplicate functions (#38371) 2020-08-07 11:40:04 -07:00
value_accessor_integration_spec.ts feat(core): update reference and doc to change `async` to `waitAsync`. (#37583) 2020-08-03 12:54:13 -07:00