I have Select.Async component with some options (e.g. loadOptions={this._loadOptions}). But it doesn't work well with special characters (枚,盲). It doesn't find an option which contains "盲", no matter what you type "盲" or "a". Any solutions ?
I believe there is a prop for this that is not documented. I searched in the source code and found ignoreAccents and when setting that one to false it did not replace special characters with common ones (like 氓 -> a). You can find the map in the file stripDiacritics.js. Don't know if this is the correct solution though.
I just encountered the same issue. Yes, setting ignoreAccents to false works.
It seems that this concerns only Async component as I'm using basic Select component and special characters are working with it just fine. I'm also using custom filterOptions-function with Select.Async so maybe it's combination of those things.
This is duplicate of #664
Thanks @markoandersson! You saved my day!
This is better documented now
Most helpful comment
I believe there is a prop for this that is not documented. I searched in the source code and found
ignoreAccentsand when setting that one to false it did not replace special characters with common ones (like 氓 -> a). You can find the map in the file stripDiacritics.js. Don't know if this is the correct solution though.