mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The `action` and `onInvalid` handlers now recevie two pieces of information: 1. The form that is being submitted 2. The specific field that the submit was triggered on Remove the `submit()` method on field state - supporting this is complex from a typing perspective, since the `FieldState` only knows its `TValue` type, not the `TModel` type of its owning `FieldTree`. Rather than try to pack additional generics on to `FieldState`, we'll just leave the `submit` function as a standalone importable function. |
||
|---|---|---|
| .. | ||
| compat.spec.ts | ||
| compat_validation_error.spec.ts | ||
| signal_form_control.spec.ts | ||
| signal_form_control_in_form_group.spec.ts | ||