Skip to content

Conversation

mario-espinoza
Copy link

This version allows matching characters with accents/diacritics during filtering
e.g. "évidemment" is matched with "evidemment".
Using algorithm suggested in http://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript by rdllopes

Algorithm hardcoded to avoid packages dependencies

This is achieved by setting the enableDiacriticsMatchFiltering option as true.

@mario-espinoza mario-espinoza changed the title Support to diacritics filtering Support to diacritics match during filtering Apr 12, 2016
@davidstutz
Copy link
Owner

Definitely a good feature. However, impossible to merge due to the formatting changes. Will try to merge it manually.

@chukhanhvan
Copy link

I see a lot of PR in recent days, do you plan to add this diacritics feature? I like bootstrap-multiselect but diacritics is the only reason to still use select2

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.

4 participants