You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
When there is a ng-form directive on a ng-repeat directive, and there are validations in fields inside that form, the deletion of an element in the list is not reflected in the ng-repeat.
<divng-controller="MyCtrl as myCtrl">
list length: {{myCtrl.list.length}}
<divng-formng-repeat="elt in myCtrl.list track by elt.id"><inputrequiredng-model="elt.text"><buttonng-click="myCtrl.deleteElt($index)">delete</button></div><buttonng-click="myCtrl.addElt()">add</button></div>