Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
29
rated 0 times [  32] [ 3]  / answers: 1 / hits: 16590  / 10 Years ago, sun, may 25, 2014, 12:00:00

I'm working on Bootstrap Multiselect, and I'm using bootstrap 3.1, and downloaded this script



<script type=text/javascript>
$(document).ready(function() {
$('#example28').multiselect({
includeSelectAllOption: true,
enableFiltering: true,
maxHeight: 150
});
});
</script>

<select id=example28 multiple=multiple>
<option value=cheese>Ahmet Burak</option>
<option value=tomatoes>Tomatoes</option>
<option value=mozarella>Mozzarella</option>
<option value=mushrooms>Mushrooms</option>
<option value=pepperoni>Pepperoni</option>
<option value=onions>Onions</option>
</select>


I tried many times to use filter. If I don't use first char uppercase in form, it doesn't find anything. How can I solve it?


More From » jquery

 Answers
0

I understand that you are talking about lowercase not working when you try to filter the results in your dropdown. Just enable case insensitive filtering & it should work -



$(document).ready(function() {
$('#example28').multiselect({
includeSelectAllOption: true,
enableFiltering: true,
enableCaseInsensitiveFiltering: true,
maxHeight: 150
});
});


Working Example of your code - http://codepen.io/nitishdhar/pen/lHyas


[#70853] Friday, May 23, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
janiajohnnad

Total Points: 146
Total Questions: 92
Total Answers: 107

Location: Faroe Islands
Member since Thu, Apr 8, 2021
3 Years ago
;