mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
03ad53863b
Prohibit concurrent submits in signal forms to prevent duplicate actions and side effects when a submission is already in progress.
If `submit()` is called while a prior submit is in progress for the same field or any of its parents, it returns `false` immediately without running the action again.
This commit also updates the documentation in `form-submission.md` to reflect this behavior.
Fixes #68317
(cherry picked from commit 708631f2c4)