Git Product home page Git Product logo

Comments (5)

eranhirs avatar eranhirs commented on August 15, 2024

Hello!
I didn't quite understand - are you referring a bug in jsTag or in your working environment?
Does this reproduce on the Demo page ?

from jstag.

Rolando-Barbella avatar Rolando-Barbella commented on August 15, 2024

Hello!,
Thanks for getting back, the bug doesn't show on the demo page, basically when I type for example a, the drop down menu shows me a number of options, when I select an option with the keyboard and press ENTER, it doesn't take the full name of the tag, it only print the letter I type (in this case a).

tags

To be honest I have been a bit confused between jsTag, typehead.js and bloodhound.js so I think the bug doesn't come from your side, sorry about that.

from jstag.

eranhirs avatar eranhirs commented on August 15, 2024

To help you I need more technical details and this is not the place, so I'm closing this issue.
I advise you to ask at stackoverflow.com , you can send me a link and I will try to help there.

from jstag.

mahaoboy avatar mahaoboy commented on August 15, 2024

Hi @eranhirs @Rolando-Barbella ,
How did you fix the problem?
I am facing the same problem here.

I can see the root cause should be the "enter" keyboard event only was catched by jsTag, not jsTypeAhead.
Updating the 'breakCodes' to be a different one, not the default 13.
'breakCodes': [
188 // Comma
],

from jstag.

YusofBandar avatar YusofBandar commented on August 15, 2024

Hello everyone,

To fix the problem, "when selecting an option with the keyboard and pressing enter it doesn't take the full name of the tag", you have to use angular-typeahead v0.2.1.

angular-typeahead v0.2.1 can be found on the angular-typeahead repo or jsTag demo repo.

from jstag.

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.