Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

shahata
Copy link
Contributor

@shahata shahata commented Aug 30, 2014

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.

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.
@shahata
Copy link
Contributor Author

shahata commented Sep 2, 2014

/cc @matsko

@caitp caitp added this to the 1.3.0-rc.1 milestone Sep 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants