Giter Site home page Giter Site logo

Comments (7)

tkirda avatar tkirda commented on May 20, 2024

Latest version is actually 1.2. You can press escape to kill suggestions. Would it make sense to add configuration option if you don't need first item to be selected by default?

from jquery-autocomplete.

xenon20 avatar xenon20 commented on May 20, 2024

Sorry, I meant version 1.2. In older versions, autocomplete didn't behave like this. Sometimes people don't even look in the list. If someone wants to search for all shops that offer watches, they cannot enter "watches" and press enter, when the first item is "watches eshop", the second maybe "watches store" and so on. they always get to "watches eshop". Maybe I explained it too detailed, I think you already understood what I meant before...so an option for this would be great ;)

from jquery-autocomplete.

 avatar commented on May 20, 2024

I would also really like to see a configuration option to prevent the first item from being selected by default. The current behaviour makes it pretty difficult to not select an item from the suggested list.

from jquery-autocomplete.

tkirda avatar tkirda commented on May 20, 2024

Will add it soon. The fact that it selects item when you click outside the box and it selects the entry is filed as a bug.

from jquery-autocomplete.

tkirda avatar tkirda commented on May 20, 2024

This has been fixed in the following commit: 56437a2

Also default value is false, so it will not select first item by default.

from jquery-autocomplete.

 avatar commented on May 20, 2024

Will you be doing a release soon that includes this fix, or should I just replace my version of jquery.autocomplete.js with the current version in the master branch. Thanks for resolving this so quickly.

from jquery-autocomplete.

tkirda avatar tkirda commented on May 20, 2024

Just release v1.2.2. Grab it here: https://github.com/devbridge/jQuery-Autocomplete/tree/master/dist

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.