Answers for "delete select2 options"

3

select2 remove search

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

select2 remove selected value

$("#dynamicAttributes").val(null).trigger("change");
Posted by: Guest on August-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language