mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6c7467a58b
The method was previously looping through all controls, even after finding at least one that satisfies the provided condition. This can be a bottleneck with large forms. The new version of the method returns as soon as a single control which conforms to the condition is found. PR Close #32534