How to make a Select2 4.0 sortable?
问题 I had this problem with the new version 4.0, and wasn't able to find any answer, until I myself solved with a work around after some hours of work. 回答1: My workaround solution: First, make it sortable with jquery. $("#mySelect").parent().find("ul.select2-selection__rendered").sortable({ containment: 'parent', update: function() { orderSortedValues(); } }); The function orderSortedValues has the following idea: Change the order of the options of the original select input, and notifying select2