angular/packages/forms/test
Alex Rickabaugh c4ce3f345f feat(forms): template & reactive support for FVC
Implement support for `FormUiComponent`s in both Reactive and Template-driven
forms. This allows components that use the new signal-based form control
architecture to be used seamlessly within existing Angular form paradigms.

Key changes:
- Integrated `ɵngControlCreate` and `ɵngControlUpdate` lifecycle hooks into
  `NgModel`, `FormControlDirective`, and `FormControlName`.
- Implemented branching logic to choose between the traditional `ControlValueAccessor` (CVA) path and the new FVC path based on the host element's capabilities.
- Added comprehensive unit tests for FVC integration in both Reactive (`reactive_fvc.spec.ts`) and Template-driven (`template_fvc.spec.ts`) forms, covering:
    - Value synchronization (model -> view and view -> model).
    - Status synchronization (touched, dirty, valid, invalid, pending, required).
    - Error propagation and `parseErrors` support.
    - Fallback behavior to native DOM properties (disabled, required) when FVC inputs are missing.
    - Graceful fallback to CVA when no FVC pattern is detected.
- Refined `NgModel` to correctly handle `required` validation via its existing `RequiredValidator` directive while supporting FVC for other properties.
2026-03-17 13:18:26 -06:00
..
BUILD.bazel test(forms): remove zone-based testing utilities 2026-02-04 15:38:09 -08:00
directives_spec.ts test(forms): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
form_array_spec.ts fix(forms): Untrack setValue in reactive forms 2026-02-19 09:11:06 -08:00
form_builder_spec.ts test(forms): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
form_control_spec.ts fix(forms): Untrack setValue in reactive forms 2026-02-19 09:11:06 -08:00
form_group_spec.ts fix(forms): Untrack setValue in reactive forms 2026-02-19 09:11:06 -08:00
ng_control_status_spec.ts ci: reformat files 2025-12-16 14:44:19 -08:00
reactive_integration_spec.ts feat(forms): template & reactive support for FVC 2026-03-17 13:18:26 -06:00
template_integration_spec.ts test(forms): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
typed_integration_spec.ts build: migrate vscode extension into repo (#63924) (#64049) 2025-10-15 10:37:02 -07:00
util.ts test(forms): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
validators_spec.ts test(forms): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00
value_accessor_integration_spec.ts test(forms): move timeout and autoTick helpers to shared testing utilities 2026-02-10 07:45:00 -08:00