angular/packages/core
Miles Malerba d1f4c8c18c refactor(forms): improved select support
When we set the `value` on a `<select>` element we're really just
setting the selected `<option>`. It treats the selected option as the
source of truth, rather than the actual value. This means that if
options are added or removed or their value changes, the `<select>` may
wind up with a different `value` than what's in our model.

This PR resolves this issue by adding a `MutationObserver` to the select
that is used to resync its value to the model whenever the options may
have changed.

(cherry picked from commit 194b41199b)
2025-11-06 15:49:09 +00:00
..
global build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
primitives refactor(core): narrow down ReactiveNode.kind type (#64127) 2025-10-20 20:15:46 +00:00
resources docs: align adev best practices with llm-eval 2025-10-28 15:08:17 +01:00
rxjs-interop docs: update doc to clear up difference between toObservable/ outputToObservable (#63836) 2025-09-16 15:00:54 +00:00
schematics fix(migrations): Prevent removal of templates referenced with preceding whitespace characters 2025-11-04 15:26:08 -08:00
src refactor(forms): improved select support 2025-11-06 15:49:09 +00:00
test build: update cross-repo angular dependencies 2025-11-05 15:26:25 -08:00
testing refactor(core): Remove zone toggles for test and standalone 2025-10-28 15:58:02 +01:00
BUILD.bazel refactor(compiler-cli): Remove deep imports of compiler-cli in angular/core 2025-10-28 15:58:59 +01:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json build: refactor location of best-practices.md 2025-10-27 09:31:39 +01:00
PACKAGE.md
public_api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
tsconfig-build.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00
tsconfig-test.json build: migrate more targets of @angular/core to ts_project (#61370) 2025-05-16 11:02:07 +00:00