javascriptjqueryjquery-chosen

chosen - search accented words


I'm using this plugin to beautify the select box. It has search function that when type it will filter out the result. The problem is that, if my select has words like á, é, í, ó, ú, ü, ñ, the plugin won't understand. For example: if I type a, it should assume I'm typing á, therefore give the results with words like a and á. But it did not. only gave me words with a.

So, doesn't anybody know how to make it understand accented word?


Solution

  • What you are asking for is currently a feature request in the project:

    https://github.com/harvesthq/chosen/issues/536

    Although there isn't an official release that includes this functionality at the moment, some users have proposed working solutions you can try.

    For example:

    http://fiddle.jshell.net/whqb5/1/