I have a div to be dragged with some data i made few modification to data on onDrop() event.the div gets dropped. But if i drag the same div once again I am getting following error
test.html:57 ERROR TypeError: Converting circular structure to JSON
at JSON.stringify ()
at setDragData (ngx-drag-drop.es5.js:43)
at DndDraggableDirective.push../node_modules/ngx-drag-drop/ngx-drag-drop.es5.js.DndDraggableDirective.onDragStart (ngx-drag-drop.es5.js:320)
at Object.eval [as handleEvent] (test:57)
at handleEvent (core.js:10258)
at callWithDebugContext (core.js:11351)
at Object.debugHandleEvent [as handleEvent] (core.js:11054)
at dispatchEvent (core.js:7717)
at core.js:8161
at HTMLDivElement. (platform-browser.js:995)
I am not able to figure out the reason for this issue.Any help on this issue?
I have a div to be dragged with some data i made few modification to data on onDrop() event.the div gets dropped. But if i drag the same div once again I am getting following error
I am not able to figure out the reason for this issue.Any help on this issue?