-
Notifications
You must be signed in to change notification settings - Fork 157
Autocomplete doesn't normalize accent marks, diacriticals, and special characters #46
Comments
and same for |
I have the same problem, and with |
Hi @marcboule98 ! thank's |
Hi! Right now I can't show you the example but it's just get the input user and use the normalize method, like that.
This works for me! |
Hi Marc,
Thank’s for your answer.
This seam to not working for me ;(.
I’ll search more on that or change for an other typeahead solution .
Have a good day
… Le 5 sept. 2019 à 17:51, Marc Boule ***@***.***> a écrit :
Hi @marcboule98 <https://github.com/marcboule98> !
Can you provide some exemple ? normalize() don't resolve the ppm for me
thank's
Hi! Right now I can't show you the example but it's just get the input user and use the normalize method, like that.
this.input = this.input.normalize()
This works for me!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#46?email_source=notifications&email_token=AANZZMI6KKPSBPVDULDL5ZDQIETIXA5CNFSM4HEK37VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD57UOYQ#issuecomment-528435042>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AANZZMOZLPWLZZKRW5YT4B3QIETIXANCNFSM4HEK37VA>.
|
@fbmfbm not sure if you got a solution but I added a pull request to my solution here while the pull is not accepted I am using from my fork repositorie |
This repo is no longer maintained. I've forked the repo here and have been maintaining it as best I can. I just pushed a release that I think should solve the problem of matching diacritics (accents, etc). Check out v2.6.1 here! |
Hello, and thanks for this awesome plugin!
In French language (and many other languages), we use accents, diacriticals etc...
So the user input need to be normalized to match words with or without special chars.
For example,
États-unis
should match with "états" and "etats", but it's currently not.https://codepen.io/maximelebreton/pen/dLOOmO
Maybe the
normalize()
method is the solution: https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/String/normalizeThanks for your help!
The text was updated successfully, but these errors were encountered: