mirror of
https://github.com/angular/angular.git
synced 2026-11-24 23:47:51 -05:00
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