multi-select icon indicating copy to clipboard operation
multi-select copied to clipboard

get values back like control

Open ognif opened this issue 5 years ago • 0 comments

I have the problem, that my list returns always an ordered array off issues but the control shows unordered.

$('#myModules').multiSelect({ keepOrder: true, afterSelect: function(values){ console.log($('#myModules').val()); }, afterDeselect: function(values){ console.log($('#myModules').val()); } });

This means I selected case.1, case.11, case.2, but the control shows the selected right orderes, means case.2 at last. But return value is always case.1, case.2, case.11

How return the array ordered like the control?

ognif avatar Jun 27 '19 07:06 ognif