Skip to content
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.

Two-Way databinding failure when use ngRepeat and JQuery UI sortable #5254

@why520crazy

Description

@why520crazy

we upgrade angular from 1.0.8 to 1.2.2 (we used JQuery UI sortable),when drag a item(e.g. item1) from entry(entry1) to other entry(entry2),we need to change the entry items in sortable options stop function ,when we push the item1 to entry2 and remove item1 from entry1,we found the item1 is lost(or other strange problem)

we found a solution that call ui.item.remove() in sortable stop function to resolve this issue, we guess that because of sortable plugin injection item to entry.
we are not sure whether this is a bug or have a better solution?

the demo adrress: http://why520crazy.github.io/w5c-validator-angular/demo/angular_sortable.html

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions