Open arthanson opened 9 years ago
I added the following script to change_list.html
$(function () {
$(document).ready(function() {
$('#changelist-search > div > span > select').select2({dropdownAutoWidth: true});
});
}(Suit.$));
and it works fine!
HTH
(make sure you import js/select2.js and css/select2.css)
@arthanson @etanter Hi, can you help my project? It's working.
Select2 integration works great in the admin change-forms but getting it to work in the changelist filters (for example in the demo http://djangosuit.com/admin/examples/city/ the country drop-down at the top of the chagelist) is problematic.
It would be great if django-suit could enable this to work.