vddl icon indicating copy to clipboard operation
vddl copied to clipboard

Uncaught TypeError: Cannot read property 'splice' of undefined

Open benoitvb opened this issue 6 years ago • 0 comments

Hello, I'm working on a 3 level nested lists. There is an issue when I'm trying to drop an element to a list element that is empty or newly created. The targeted list is undefined.

Section.vue?b2d5:144 Uncaught TypeError: Cannot read property 'splice' of undefined at VueComponent.handleDrop (Section.vue?d3fb:142) at boundFn (vue.esm.js?efeb:188) at VueComponent.invokeCallback (vddl.runtime.js?801c:372) at VueComponent.boundFn [as invokeCallback] (vue.esm.js?efeb:187) at VueComponent.handleDrop (vddl.runtime.js?801c:261) at Proxy.boundFn (vue.esm.js?efeb:188) at drop (vddl.runtime.js?801c:161) at invoker (vue.esm.js?efeb:1986) at HTMLDivElement.fn._withTask.fn._withTask (vue.esm.js?efeb:1784)

It works fine with lists that have already items.

benoitvb avatar Jun 08 '18 08:06 benoitvb