Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.1k stars 4.95k forks source link

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

Closed ysayita closed 8 years ago

ysayita commented 8 years ago

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 commented 8 years ago

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.

brunotourinho commented 7 years ago

Any progress on this issue?

kmehmety commented 6 years ago

@ysayita did you find any solution for this issue?

lubber-de commented 5 years ago

Added option ignoreDiacritics to dropdown and search module for Fomantic-UI by https://github.com/fomantic/Fomantic-UI/pull/422 :grin: See http://jsfiddle.net/t23uewyn/