Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

fix(ngControl): unregister control from parent on detach #684

Closed
wants to merge 1 commit into from

Conversation

alorenzen
Copy link
Contributor

Un-register a control with its parent on detach, and also move register call to attach().
Right now, when a form element(such as an input) is removed from the dom,
the parent control does not remove it from the list of controls.

Un-register a control with its parent on detach, and also move register call to attach().
Right now, when a form element(such as an input) is removed from the dom,
the parent control does not remove it from the list of controls.
@alorenzen alorenzen added cla: yes and removed cla: no labels Mar 6, 2014
mhevery pushed a commit to mhevery/angular.dart that referenced this pull request Mar 6, 2014
Un-register a control with its parent on detach, and also move register call to attach().
Right now, when a form element(such as an input) is removed from the dom,
the parent control does not remove it from the list of controls.

Closes dart-archive#684
mhevery pushed a commit to mhevery/angular.dart that referenced this pull request Mar 6, 2014
Un-register a control with its parent on detach, and also move register call to attach().
Right now, when a form element(such as an input) is removed from the dom,
the parent control does not remove it from the list of controls.

Closes dart-archive#684
@mhevery mhevery closed this in 4c9b804 Mar 6, 2014
@alorenzen alorenzen deleted the detach-control branch March 10, 2014 01:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

1 participant