angular/packages/core
Leon Senft fd9af2afaf fix(forms): only propagate schema defined properties from field to control (#64446)
Prior to this change, `FieldState` defined a signal for each built-in
property. This unfortunately meant that the `Field` directive had no way
of knowing which property had actually been defined in the schema, and
would thus attempt to propagate them all to the bound form control. This
meant that the default values of these signals would override the
default or template defined values of these control properties.

Now these properties are `undefined` by default, and only initialized if
defined in the schema. Thus the `Field` directive will not attempt to
bind any properties that aren't explicitly managed by the schema.

PR Close #64446
2025-10-21 17:38:34 +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
rxjs-interop docs: update doc to clear up difference between toObservable/ outputToObservable (#63836) 2025-09-16 15:00:54 +00:00
schematics refactor(migrations): unit test signal migration adjustment (#64393) 2025-10-15 10:38:57 -07:00
src fix(forms): only propagate schema defined properties from field to control (#64446) 2025-10-21 17:38:34 +00:00
test refactor(core): clarify comments on enter animation queuing (#64550) 2025-10-21 15:17:13 +00:00
testing refactor(core): Make the zoneless-by-default change a flag flip (#63382) 2025-09-16 18:56:54 +00:00
BUILD.bazel build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
index.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
package.json fix(core): mark zone.js as an optional peer dependency (#61616) 2025-05-22 12:14:06 -07: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