angular/packages/forms/src
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
..
directives fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00
model feat(forms): export forms utility functions: isFormArray, isFormGroup… (#47718) 2022-10-10 19:43:26 +00:00
directives.ts fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00
errors.ts fix(forms): Move all remaining errors in Forms to use RuntimeErrorCode. (#46654) 2022-07-06 09:49:39 -07:00
form_builder.ts docs(forms): correcting description verbs of formGroup methods (#47399) 2022-09-12 19:05:22 -07:00
form_providers.ts fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00
forms.ts fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00
util.ts refactor(forms): Split up model.ts. (#45217) 2022-03-01 19:49:31 +00:00
validators.ts docs: fix spelling (#46713) 2022-07-08 20:54:52 +00:00
version.ts docs: fix package name in version.ts files in different packages (#41208) 2021-05-10 10:26:34 -04:00