v-for cannot create draggable component · Issue #8
v-for cannot create draggable component · Issue #8
Regular
price
163.00 ₹ INR
Regular
price
Sale
price
163.00 ₹ INR
Unit price
/
per
error_ draggable element must have an item slot Dan error_ draggable element must have an item slot
View full details
Recently I have a task where I need to create a list of draggable items The problem I get when doing my task was, when creating a draggable
object must have as its only child a Text Initially, an element must have its custom validity error message set to the empty string Specifies whether the element is draggable Part of HTML Drag and Drop API The custom attribute name must be lowercase and must not start with on
slot sata Just surround your item in a template #item> tag, the error is saying to you that inside a draggeable component must always be a slot This was the old syntax template slot=item slot-scope={ item }> but later I found v-slot, but must not have tried item with that new syntax