Open loverdrive opened 8 years ago
Hey fellow in misery, I’d just fumbled around with this as well and it turned out you mustn’t use element
as the reference to an entry in your array. So, maybe use something like ng-repeat="elem in startDrag"
instead.
Thanks, @Zemke! We have this plugin implemented at multiple places in our project and it all works fine -- but this one new place I was trying to add it and it was behaving weirdly and throwing this issue.
Your comment saved me from going crazy 😊
Turned out, I was referring to our element as element
🤷
Hi, i'm implementing ng-sortable. This is my html:
When i move the first element, it is sorted correctly. But when i move the second element (included the same previous element), it give me the error:
Have you any idea what could be the problem? Thank you!