Vue.draggable: TypeError: Cannot convert undefined or null to object

Created on 22 Apr 2020  路  2Comments  路  Source: SortableJS/Vue.Draggable

When I used [email protected]锛宼here was an error "TypeError: Cannot convert undefined or null to object".

https://codesandbox.io/s/flamboyant-cerf-ruzxo?file=/package.json

Most helpful comment

It seems [email protected] is not compatible with Vue.Draggable.

Vue.Draggable uses "this.$attrs" in its render function, unfortunately $attrs is introduced with Vue 2.4.

All 2 comments

It seems [email protected] is not compatible with Vue.Draggable.

Vue.Draggable uses "this.$attrs" in its render function, unfortunately $attrs is introduced with Vue 2.4.

I have the same problem and my version of vue project is 2.3.4.

But i'm getting this error with 2.23.2 version of vuedraggable:

see:
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sualty picture Sualty  路  3Comments

Stetzon picture Stetzon  路  3Comments

rootman picture rootman  路  3Comments

mathlet0x picture mathlet0x  路  4Comments

bborn picture bborn  路  3Comments