I am using this script to drag and drop. It make clone of block to drop block. In block 1 there is multi select list. when 1 drop multi select list to block 2 it does not work.
$('#sa_drag_block li').draggable({
helper: "clone",
});
$('#sa_drop_block').droppable({
drop: function (e, ui) {
$(ui.draggable).clone().appendTo($(this));
}
});
Here is JSFiddle Link
There were a few things working against you here, but I was able to make it work
So you can fix these two issues for pretty much any JavaScript plugin by following a cycle when either initially dragging or dropping the elements
destroy
methods,select2('destroy')
in this case.You can find the working, commented jsfiddle here: http://fiddle.jshell.net/uffhvenk/6/