Closed
Description
The event argument items always empty, it likes used incorrect var in 'moveAllToSource(event)' method.
`
moveAllToSource(event) {
if (this.value[1]) {
let sourceList = [...this.value[0]];
let targetList = [...this.value[1]];
this.$emit('move-all-to-source', {
originalEvent: event,
items: sourceList // _**here shoud be targetList ???**_
});
sourceList = [...sourceList, ...targetList];
targetList = [];
let value = [...this.value];
value[0] = sourceList;
value[1] = targetList;
this.$emit('input', value);
this.d_selection[1] = [];
this.$emit('update:selection', this.d_selection);
this.$emit('selection-change', {
originalEvent: event,
value: this.d_selection
});
}
`
Activity