Vue.draggable: How to avoid duplicate when cloning item?

Created on 30 Jul 2019  路  1Comment  路  Source: SortableJS/Vue.Draggable

Iam going to clone A list's item to B List.

But i have to make sure the item in B list is unique, and each item has an id, which i can checkout whether it is duplicated.

Now I cant find any lifecircle about "before Clone"

If i can get your help, i will be very appreciated

Thanks for your patience

>All comments

Try to use move props returns false when beginning a drag corresponding to an element which is in list B

Was this page helpful?
0 / 5 - 0 ratings

Related issues

karam94 picture karam94  路  3Comments

AnnaStuehlmeyer picture AnnaStuehlmeyer  路  3Comments

Leadaxe picture Leadaxe  路  3Comments

steffanhalv picture steffanhalv  路  3Comments

ghost picture ghost  路  3Comments