Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select2 disable search bar

<select class="form-select" data-minimum-results-for-search="Infinity">
    <option></option>
    <option value="1">First</option>
    <option value="2">Second</option>
    <option value="3">Third</option>
</select>
Source by select2.org #
 
PREVIOUS NEXT
Tagged: #disable #search #bar
ADD COMMENT
Topic
Name
5+9 =