Skip to content

Commit 64b2084

Browse files
Update README.md
1 parent cdffae0 commit 64b2084

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,12 @@ Ex:
355355
<button slot="footer" @click="addPeople">Add</button>
356356
</draggable>
357357
```
358+
### Gochas
359+
360+
Children elements inside v-for should be keyed as any element in Vue.js. Be carefull to provide revelant key values in particular:
361+
* typically providing array index as keys won't work as key should be linked to the items content
362+
* cloned elements should provide updated keys, it is doable using the [clone props](#clone) for example
363+
358364
359365
### Example
360366
* [Clone](https://sortablejs.github.io/Vue.Draggable/#/custom-clone)

0 commit comments

Comments
 (0)