In select areas of Moscow. There is Бирюлёво .

I wish that when the user wrote Бирюлево the search was triggered by the letter ё .

  • Well, the documentation says that this option is on by default select2.imtqy.com/examples.html#diacritics Diacritics support - Select2's default matcher will ignore diacritics, making it work. Type "aero" into the select below. Perhaps you have already changed the default settings. - Vyacheslav Danshin
  • but nifiga. poked the source code. There really is support, but not for Cyrillic. I added there my "ё":"е", pairs "ё":"е", and it all worked. - xaja

1 answer 1

You can rewrite the search function with your own

 $('select').select2({ matcher: function(term, text, option) { return text.toUpperCase().indexOf(term.toUpperCase())>=0 || /* сравнение с учетом буквы ё */ } });