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