angular/packages/forms/test
Dylan Hunn 96b7fe93af fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576)
Previously, `setDisabledState` was never called when attached if the control is enabled. This PR fixes the bug, and creates a configuration option to opt-out of the fix.

Fixes #35309.

BREAKING CHANGE: setDisabledState will always be called when a `ControlValueAccessor` is attached. You can opt-out with `FormsModule.withConfig` or `ReactiveFormsModule.withConfig`.

PR Close #47576
2022-10-11 16:03:01 +00:00
..
BUILD.bazel build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
directives_spec.ts fix(forms): Move all remaining errors in Forms to use RuntimeErrorCode. (#46654) 2022-07-06 09:49:39 -07:00
form_array_spec.ts feat(forms): Implement strict types for the Angular Forms package. (#43834) 2022-04-12 17:37:04 +00:00
form_builder_spec.ts feat(forms): add FormBuilder.record() method (#46485) 2022-07-15 22:02:44 +00:00
form_control_spec.ts fix(forms): Update a Forms validator error to use RuntimeError (#46537) 2022-06-28 11:32:54 -07:00
form_group_spec.ts feat(forms): Implement strict types for the Angular Forms package. (#43834) 2022-04-12 17:37:04 +00:00
reactive_integration_spec.ts fix(forms): don't prevent default behavior for forms with method="dialog" (#47308) 2022-09-09 14:26:48 -07:00
template_integration_spec.ts fix(forms): don't prevent default behavior for forms with method="dialog" (#47308) 2022-09-09 14:26:48 -07:00
typed_integration_spec.ts fix(forms): Correctly infer FormBuilder types involving [value, validators] shorthand in more cases. (#47034) 2022-08-17 11:32:15 +00:00
util.ts refactor(forms): remove unnecesary null (#47238) 2022-09-06 09:57:37 -07:00
validators_spec.ts fix(forms): Correct empty validator to handle objects with a property length: 0. (#33729) 2022-02-03 23:15:27 -08:00
value_accessor_integration_spec.ts fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00