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.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
form.$invalid: true after ng-repeat array shortening #1312
If you fill in both inputs, form.$invalid=false.
Then, if you click 'Remove All',form.$invalid=false, as expected.
However, if you fill none, or one input, form.$invalid=true, again, as expected.
But... If we click 'Remove All' after, form.$invalid=true remains, even though there are no fields in the form.
Activity
laguiz commentedon Sep 27, 2012
@johnday-github
I also have issue with splice().
Can you give an example? I'm not sure to get it.
Thank you.
laguiz commentedon Sep 27, 2012
I'm able to fix the issue when we want to
splice()an array by doing this :This is not so nice but it works for me. Maybe AngularJS should handle it automatically?
Any feedback on this is welcome.
pkozlowski-opensource commentedon Nov 25, 2012
Duplicate of #1572