Вопрос

Chosen matches words from beginning by default and if we add the following option, it would match the words even from middle:

{search_contains: true}

But I would like to implement fuzzy matching using chosen in a similar manner which Sublime Text does. How can this be achieved?

Это было полезно?

Решение

According to: https://github.com/harvesthq/chosen/issues/858 this feature still does not found the way into choosen's core. Try the fork including this feature: https://github.com/eliasdorneles/chosen - of course I did not test it and relay on their talk.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top