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