select2 disable search
snippet in javascript

select2 search disable

user1710

$("#js-example-basic-hide-search").select2({
    minimumResultsForSearch: -1
});

select2 disable search

user704

$("#js-example-basic-hide-search").select2({
    minimumResultsForSearch: Infinity
});