[Vuejs]-Vue.Draggable Drag and drop to same array

0👍

I think the problem is that you should not duplicate your draggable item. Even worse that you use the same v-model attribute with them because the models will be messed up like this. You should use one draggable item WITHOUT specifying the pull and put options because your code implies that you don’t want to let the items be pulled from your array. If you check the GitHub of the plugin, you can see that the most basic example is dragging from and dropping into the same array:

https://github.com/SortableJS/Vue.Draggable

Leave a comment