[bug] fix dragging elements between different lists

This commit is contained in:
Andrea 2022-01-13 17:41:31 +01:00
parent 09937fe21b
commit 9156e75b6d
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<draggable tag="ul" v-model="iVal" handle=".handle" ghostClass="ghost" @end="$emit('input', iVal)" class="list-unstyled" :group="group">
<draggable tag="ul" v-model="iVal" handle=".handle" ghostClass="ghost" @end="$emit('input', iVal)" @add="$emit('input', iVal)" class="list-unstyled" :group="group">
<li v-for="(v, i) in iVal" ref="items">
<div>
<div class="input-group input-group-sm mb-1">