Giter Site home page Giter Site logo

Comments (7)

tkirda avatar tkirda commented on June 2, 2024

It does not have anything specific in terms of what encoding should be used. It should work with Cyrillic. Can you be more specific what is it that does not work?

from jquery-autocomplete.

Behruz17 avatar Behruz17 commented on June 2, 2024

It doesn't show any suggestions and hints when I type Cyrillic letters.
auto1
auto2
auto3

from jquery-autocomplete.

Behruz17 avatar Behruz17 commented on June 2, 2024

@tkirda Can u help me please? It doesn't show any suggestions and hints when I type Cyrillic letters. But when first letter is English and the rest id Cyrillic it works

from jquery-autocomplete.

tkirda avatar tkirda commented on June 2, 2024

If you are playing with samples, try debug / update code where it filters suggestions:

https://github.com/devbridge/jQuery-Autocomplete/blob/master/scripts/demo.js#L17

from jquery-autocomplete.

rivalhw avatar rivalhw commented on June 2, 2024

try change the code demo.js line 51 as following :

return suggestion.value.toLowerCase().indexOf(queryLowerCase) === 0;

to as following:

return suggestion.value.toLowerCase().indexOf(queryLowerCase) === 0;

now can support as Chinese、Cyrillic etc.

image

from jquery-autocomplete.

Behruz17 avatar Behruz17 commented on June 2, 2024

@rivalhw this function is in 18 line. But it doesn't work
image

from jquery-autocomplete.

Behruz17 avatar Behruz17 commented on June 2, 2024

@rivalhw Can you please send me your version (file) ?

from jquery-autocomplete.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.