SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.59k stars 3.7k forks source link

How to use dataIdAttr (dynamically generate the ids for dropped elements) #1368

Open hari457627 opened 6 years ago

hari457627 commented 6 years ago

hi,

i'm using the sortable plugin, and i'm drag and dropping the elements, like image or video etc.., for those dropped for unique identification i have to generate the ids.

so i have tried with dataId Attr, but its not working.

can anybody help me to resolve this issue?

owen-m1 commented 5 years ago

Could you please provide a jsfiddle or jsbin demonstrating your issue?