Skip to content

Conversation

mikehins
Copy link

Hi, thanks for this awesome plugin !

I needed to filter options regardless of accents. So I added an option enableReplaceDiacritics.

$(document).ready(function () {
   $('#example-filter-enableReplaceDiacritics').multiselect({
        enableFiltering: true,
        enableReplaceDiacritics : true,
        enableCaseInsensitiveFiltering: true
    });
});
<select id="example-filter-enableReplaceDiacritics" multiple="multiple">
    <option value="a">Bière</option>
    <option value="b">birrë</option>
    <option value="c">Øl</option>
    <option value="d">pivə</option>
    <option value="e">Sör</option>
</select>```

@davidstutz
Copy link
Owner

Thanks this might be helpful!

@davidstutz
Copy link
Owner

Will manually use a mix of this PR and #725.

@davidstutz davidstutz closed this Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants