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

Prevent user to move items from one column from todo to doing, but allow to be moved from doing to done

Open ltroya-as opened this issue 3 years ago • 1 comments

I have a kanban board with three lists: Todo, Doing, Done.

The customer shouldn't be able to move tasks to the Doing column. But admins can move items to that column.

Can anyone give me a hint of how can I do that?

Thanks in advance.

ltroya-as avatar Jan 21 '22 05:01 ltroya-as

Add "draggable": "sortable class name" in the configuration item 《draggable v-bind="dragOptions"> </draggable》 const dragOptions = computed(() => { return { animation: 150, // Which elements are allowed to drag draggable: '.allowDrag', } })

vela666 avatar Mar 23 '22 03:03 vela666