Vue.Draggable icon indicating copy to clipboard operation
Vue.Draggable copied to clipboard

Vue draggable + Normalized Vuex Data

Open curlessb opened this issue 3 years ago • 0 comments

First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md

Jsfiddle link

Step by step scenario

This library is awesome and I've been happy using it, thank you! One thing I have found difficult though is vue draggable doesn't seem to work with normalized data in vuex (using an object of objects). It seems to only work with an array of objects in vuex. Can vue draggable be modified to use normalized data? Unless I'm missing something, (I read someone else used normalizr as a workaround but that package is no longer being maintained), I don't know of another way to make this possible.

Actual Solution

vue draggable errors when trying (v-model) to point at a normalized object of objects

Expected Solution

Things can drag regardless of an array of objects used or an object of objects are used.

curlessb avatar Nov 02 '22 13:11 curlessb