angular/packages/core
Leon Senft effccffde0 refactor(core): add framework support for binding form controls (#63773)
Move most of the implementation of the `Control` directive into core
framework instructions. This allows field state changes to be propagated
to their corresponding UI controls directly during execution of a
template update block, instead of relying on `effect()`s to synchronize
each change later during the update (and too late in the case of
required inputs).

* Define a private API in `@angular/core` for signal forms to implement:
  * `ɵControl` for the `Control` directive.
  * `ɵFieldState` for the control's associated `FieldState`.
* Emit specialized instructions when compiling a `[control]` binding:
  * `ɵɵcontrolCreate` sets up the `ɵControl` directive if present,
    determines whether it's bound to a native control element or a
    custom control component, and adds the appropriate event listeners
    to notify the `ɵFieldState` of UI changes.
  * `ɵɵcontrol` propagates changes from `ɵFieldState` properties to their
    corresponding UI control properties (in additional to binding the `control`
    property itself).

PR Close #63773
2025-10-04 13:21:55 -07:00
..
global build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
primitives refactor(core): Add custom formatters for Signals (#64000) 2025-09-30 13:49:26 -04: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): preserve component imports when pruning NgModules in standalone migration (#64186) 2025-10-02 13:54:14 -07:00
src refactor(core): add framework support for binding form controls (#63773) 2025-10-04 13:21:55 -07:00
test refactor(core): add specialized instruction for [control] bindings (#63773) 2025-10-04 13:21:55 -07: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