5
I have the following code http://jsfiddle.net/6hLsfqtn/.
My problem occurs as follows:
- Add a Double Steppe to the list on the right.
- I add a Simple Steppe to the list on the right.
- Add a second Double Steppe to the list on the right.
- Drag a Double Steppe to "Remove"
- The two Double Steppes are removed.
I have already identified that the problem is in the removal, because I have removed the dataitem. I tried to pass dataitem.id and it still didn’t work because the Id’s clone themselves by dragging some piece from the list from left to right.
I need Ids to be different so that when removing with dataitem.id it only removes one piece.
Perfect! That’s just what I needed! Thank you!
– Isa
Marco is possible I block so he can’t drag from the list on the right to himself?
– Isa
but I answered this one in http://jsfiddle.net/mapquintal/42js9axv/3/
– Marco Antonio Quintal
Ah yes, thank you
– Isa