vue-dragula
vue-dragula copied to clipboard
Moving from a list to another
Hi, I'm using this in a project and it's cool - thanks! I'm having a problem though when moving an item from a list to another where the drag and drop works fine, but the underlying Vue data is not updated accordingly. If I reorder items within the same list instead, the Vue data is updated automatically as I can see with the Chrome dev tools.
Any idea? Thanks in advance.
Dunno if it's useful but here's a fiddle: https://jsfiddle.net/vitobotta/1Lu8yja4/13/
For some reason the Vue Chrome extension doesn't work when I have JSFiddle open and the console seems to suggest that data doesn't get updated even when reordering within the same list. Not sure what I am missing....
Well, the current version doesn't work well with vuejs 2.0. I'm planning for a rewrite.
Hi @Astray-git , thanks. I am trying to use Dragula directly now but I really look forward to a new version of this plugin!
Please update for Vue2 ASAP Thanks!!! :)
@vitobotta Please help porting to Vue2 ;)
@kristianmandrup I wish I could but afraid my JS is not good enough for that :-/
@vitobotta I got it working here...
https://github.com/Astray-git/vue-dragula/pull/26 See demo here: https://github.com/kristianmandrup/vue2-dragula-demo/
But suddenly it stopped working for me locally! I'm too tired now. Will work more on it tmrw.