Answers for "select2 hide search"

3

select2 disable search

$("#js-example-basic-hide-search").select2({
    minimumResultsForSearch: Infinity
});
Posted by: Guest on November-14-2020
0

select2 hide options

.select2-container--default .select2-results__option[aria-disabled=true] {
    display: none;
}
Posted by: Guest on May-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language