app/assets/javascripts/components/forms/multiselect.js.coffee in biola_wcms_components-0.12.0 vs app/assets/javascripts/components/forms/multiselect.js.coffee in biola_wcms_components-0.13.0
- old
+ new
@@ -1,9 +1,13 @@
$(document).ready ->
$('.bs-multiselect').each ->
$(this).multiselect
- enableFiltering: true,
+ enableCaseInsensitiveFiltering: true
+ enableFiltering: true
filterBehavior: 'value'
+ includeSelectAllOption: false
+ maxHeight: 400
+ numberDisplayed: 1
# Replace glyphicons with fonticons
if $('.bs-multiselect').length > 0
$('i.glyphicon.glyphicon-search').removeClass('glyphicon glyphicon-search').addClass('fa fa-search');
$('i.glyphicon.glyphicon-remove-circle').removeClass('glyphicon glyphicon-remove-circle').addClass('fa fa-times-circle');