mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
f56bb07d83
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.
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