When I type german letters like 盲, 枚, 眉 and 脽 they are replaced by a, o, u and s. This behavoir leads to wrong search results.
There's a prop called ignoreAccents you can set to false to negate this behavior. See https://github.com/JedWatson/react-select/blob/master/src/Async.js#L43. @JedWatson want me to add some docs around this?
Works :thumbsup:
Thank you.
I'll leave this one open for Jed.
That would be great, thanks @StevenLangbroek!
I wonder if stripping the diacritics is a good default behavior when querying remote data sources.
IMO, Async should have filterOption={()=>true}. The filtering should be done by the remote endpoint.
In hindsight I don't think these props should have defaulted to {true}, but I don't want to push a breaking change at the moment to update that. The props are now more clearly called out in the documentation, which should make it easier for users to understand what's going on and how to manage the behaviour.
Most helpful comment
There's a prop called
ignoreAccentsyou can set tofalseto negate this behavior. See https://github.com/JedWatson/react-select/blob/master/src/Async.js#L43. @JedWatson want me to add some docs around this?