You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed it by editing the bootstrap_multiselect.js file. I use the normalize function to replace the search query and also the select options
Original:
if (this.query !== event.target.value) {
this.query = event.target.value;
var currentGroup, currentGroupVisible;
$.each($('.multiselect-item', this.$ul), $.proxy(function(index, element) {
var value = $('input', element).length > 0 ? $('input', element).val() : "";
var text = $('label', element).text();
Fixed:
if (this.query !== event.target.value) {
this.query = event.target.value.normalize('NFD').replace(/[\u0300-\u036f]/g, "");
var currentGroup, currentGroupVisible;
$.each($('.multiselect-item', this.$ul), $.proxy(function(index, element) {
var value = $('input', element).length > 0 ? $('input', element).val() : "";
var text = $('label', element).text().normalize('NFD').replace(/[\u0300-\u036f]/g, "");
Hello everybody, When I search and don't put accents, my search doesn't work, how do I turn off the accents?
The text was updated successfully, but these errors were encountered: