material-ui
material-ui copied to clipboard
[Autocomplete] The search results starting with ı is not loaded when searching for local text in Autocomplete.
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/checkboxestags-demo-material-ui-forked-e8m9su?file=/demo.tsx:2820-2832
Steps:
- Let's assume that this films are Turkish. The letter i-I in English is i-İ in Turkish. There is another letter as ı-I in Turkish.
- There is a film names as Interstellar.
- Search ınterstellar (with lower ı)
Current behavior 😯
There is no data like this.
Expected behavior 🤔
"Interstellar" result should be return.
Context 🔦
The application language is Turkish. I maintain application (in MUI v4) The letter i-I in English is i-İ in Turkish. There is another letter as ı-I in Turkish. There a lot username contains "ı" letter like ıtır (ITIR), çağrı (ÇAĞRI). Users can search both lowercase and uppercase in autocomplete. In this case the results are not loaded into autocomplete. Can we pass language info to Autocomplete? Or how can we fix this?
Your environment 🌎
System: OS: Windows 10 10.0.19044 Binaries: Node: 14.16.1 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 6.14.12 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: Not Found Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.54) npmPackages: @types/react: ^18.0.11 => 18.0.28 react: ^18.1.0 => 18.2.0 react-dom: ^18.1.0 => 18.2.0 styled-components: ^5.3.5 => 5.3.9 typescript: ^4.7.2 => 4.9.5
@mervearsln You may need to create a custom filtering function using createFilterOptions
to pass to the filterOptions
prop (By default characters with diacritics are ignored)
Since there is no response, I assume the issue can be closed.