Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Dropdown] - Turkish İ & ı characters on search #3577

Closed
ysayita opened this issue Jan 15, 2016 · 4 comments
Closed

[Dropdown] - Turkish İ & ı characters on search #3577

ysayita opened this issue Jan 15, 2016 · 4 comments
Milestone

Comments

@ysayita
Copy link

ysayita commented Jan 15, 2016

Steps to Reproduce

  1. Create a select control with options that contains İ and/or ı character.
  2. Make a search dropdown with that select.
  3. Do a search using i or I character

Expected
Dropdown should filter the elements and show results with "İ" when searched with "i" and show results with "I" when searched with "ı".

Result
Dropdown does not show items according to the Turkish language characters.

Notes
You may find an example select control attached within a html file. Try searching for alimar. There is an option "ALİMAR" and according to Turkish language rules, "ALİMAR" and "alimar" are the same words.
index.zip

@jlukic
Copy link
Member

jlukic commented Jan 15, 2016

#3287
The character map required to support all diacritics is about 16kb, so i've been hesitant to add.
https://github.com/select2/select2/blob/master/src/js/select2/diacritics.js

I do think though it makes sense to include, at the very least, as an optional include as it does result in huge UX issues with foreign languages.

@jlukic jlukic added this to the 2.1.9 milestone Jan 15, 2016
@jlukic jlukic closed this as completed Jan 15, 2016
@jlukic jlukic modified the milestones: 2.1.9, 2.2 May 1, 2016
@brunotourinho
Copy link

Any progress on this issue?

@kmehmety
Copy link

@ysayita did you find any solution for this issue?

@lubber-de

This comment was marked as spam.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

5 participants