diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 5b18f25017..9431780137 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2579,6 +2579,9 @@ $.fn.dropdown = function(parameters) { escapedValue = module.escape.value(value), $label ; + if(settings.ignoreCase) { + escapedValue = escapedValue.toLowerCase(); + } $label = $('') .addClass(className.label) .attr('data-' + metadata.value, escapedValue) @@ -3043,6 +3046,9 @@ $.fn.dropdown = function(parameters) { escapedValue = module.escape.value(value), $labels = $module.find(selector.label) ; + if(settings.ignoreCase) { + escapedValue = escapedValue.toLowerCase(); + } return ($labels.filter('[data-' + metadata.value + '="' + module.escape.string(escapedValue) +'"]').length > 0); }, maxSelections: function() {