This repository was archived by the owner on Apr 12, 2024. It is now read-only.
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
Closed
Description
Demonstration (Not by me):
http://jsfiddle.net/ADukg/117/
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.
Is there a solution to this?
Metadata
Metadata
Assignees
Labels
No labels