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