angular/packages
Leon Senft 44cd18c183 refactor(forms): remove a TODO and simplify update on <select> mutations
Remove an unnecessary TODO comment. The native `<select>` tracks its
`value` by keeping track of the selected `<option>`. Thus if the value
was set *before* the corresponding option is created, the `<select>`
will ignore it, but the framework doesn't know that and will cache the
bound value anyways. Therefore, checking if the value changed since it
was last bound when the mutation that creates the selected `<option>`
occurs would in fact prevent a needed update, leaving the `<select>` and
field values out of sync.

Furthermore, we know the control type is a native `<select>` element, so
we can update its value directly instead of going through
`updateNativeControl()` which would perform a redundant input type
check.
2025-11-10 07:47:58 -08:00
..
animations build: format md files 2025-11-06 10:03:05 -08:00
benchpress build: format md files 2025-11-06 10:03:05 -08:00
common build: format md files 2025-11-06 10:03:05 -08:00
compiler fix(compiler): support commas in :host() argument 2025-11-07 10:43:32 -08:00
compiler-cli refactor(compiler-cli): update set of required inputs 2025-11-07 11:57:50 -08:00
core refactor(forms): remove a TODO and simplify update on <select> mutations 2025-11-10 07:47:58 -08:00
docs/di build: format md files 2025-11-06 10:03:05 -08:00
elements build: format md files 2025-11-06 10:03:05 -08:00
examples build: format md files 2025-11-06 10:03:05 -08:00
forms perf(forms): only update interop controls when bound field changes 2025-11-07 11:58:17 -08:00
language-service fix(language-service): address potential memory leak during project creation 2025-11-07 11:57:22 -08:00
localize Revert "refactor(compiler-cli): remove deep imports from compiler-cli (#64732)" 2025-11-06 13:09:01 -08:00
misc/angular-in-memory-web-api build: format md files 2025-11-06 10:03:05 -08:00
platform-browser refactor(platform-browser): remove unused Platform ID dependency from DomRendererFactory2 2025-11-06 12:00:46 -08:00
platform-browser-dynamic build: format md files 2025-11-06 10:03:05 -08:00
platform-server build: format md files 2025-11-06 10:03:05 -08:00
private/testing build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
router refactor(router): Add handler to NavigationInterceptOptions 2025-11-07 13:32:49 -08:00
service-worker build: format md files 2025-11-06 10:03:05 -08:00
ssr/docs build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
upgrade build: format md files 2025-11-06 10:03:05 -08:00
zone.js build: update all non-major dependencies 2025-11-07 07:43:44 -08:00
BUILD.bazel build: configure signal forms for release (#63458) 2025-08-29 14:31:35 -07:00
circular-deps-test.conf.js docs(docs-infra): lift circular imports (#63186) 2025-08-19 07:58:45 +00:00
empty.ts
goog.d.ts
license-banner.txt docs: update website URL in license banners (#64183) 2025-10-02 07:56:58 -07:00
package.json
README.md build: format md files 2025-11-06 10:03:05 -08:00
system.d.ts
tsconfig-build.json Revert "refactor(compiler-cli): remove deep imports from compiler-cli (#64732)" 2025-11-06 13:09:01 -08:00
tsconfig-legacy-saucelabs.json
tsconfig-test.json
tsconfig.json feat(compiler-cli): enable type checking of host bindings by default (#63654) 2025-09-09 14:34:29 -07:00
tsec-exemption.json
types.d.ts build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT