SIGN IN SIGN UP
angular / angular.js UNCLAIMED

AngularJS - HTML enhanced for web apps!

0 0 94 JavaScript

fix(ngForm): don't clear validity of whole form when removing control

Calling `$$clearControlValidity` on the parent of a nested form caused the parent form
to look like there are no more errors on the nested form even if it still had some
inputs with errors. there is no need to call this method recursively since `$setValidity`
will propagate the new validity state well enough.

Closes #8863
S
Shahar Talmi committed
953ee22f76f8c1137949ed07f36fafc5bbfeb7fe
Parent: c3064f7
Committed by Peter Bacon Darwin <pete@bacondarwin.com> on 9/3/2014, 12:30:33 PM