Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Autocomplete doesn't normalize accent marks, diacriticals, and special characters #46

@maximelebreton

Description

@maximelebreton

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/normalize

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions