angular/packages/core/test/bundling
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
..
animation_world refactor(core): drop unused fields from the RootContext (#46806) 2022-08-05 09:58:06 -07:00
animations feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
core_all build: update dev-infra packages and account for build-tooling split from ng-dev (#46976) 2022-08-02 09:37:37 -07:00
cyclic_import feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
forms_reactive fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00
forms_template_driven fix(forms): call setDisabledState on ControlValueAcessor when control is enabled (#47576) 2022-10-11 16:03:01 +00:00
hello_world feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
hello_world_i18n test(core): convert remaining bundling tests to not use renderComponent (#46559) 2022-06-28 21:37:45 -07:00
image-directive feat(common): Add automatic srcset generation to ngOptimizedImage (#47547) 2022-10-10 16:21:08 +00:00
injection feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
router feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
standalone_bootstrap feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
todo feat(core): introduce EnvironmentProviders wrapper type (#47669) 2022-10-07 14:03:13 -07:00
todo_i18n refactor(core): drop unused fields from the RootContext (#46806) 2022-08-05 09:58:06 -07:00
util build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
README.md fix(core): remove individual commands for updating gold files (#45198) 2022-03-01 19:16:53 +00:00

Bundle

js_expected_symbol_test

This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts:

yarn run symbol-extractor:check
yarn run symbol-extractor:update