Git Product home page Git Product logo

tags-input's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tags-input's Issues

JSFiddle Demo is broken.

I get the error "tags-input.js:1 Uncaught TypeError: Cannot read property 'selectionStart' of undefined"

Should copy some attributes from source input (eg: spellcheck)

While the placeholder attribute is supported, a number other textual input attributes are not being copied to the internal input field.
An inexhaustive list:

  • spellcheck
  • autocorrect
  • autocapitalize
  • autosuggest

It would also be useful to support a mapping, so that we could have the source input declare an attribute like data-type, which would dictate the type attribute of the internal input. An example use case would be a tag-input field where each tag is a date/time/number/etc.

Keyboard events created with DOM don't trigger

There is a known bug with Webkit where KeyboardEvents created by the DOM have keyCode and charCode of 0, thus preventing us from manually triggering 'change' or 'input' events with this library.

I have managed to create a workaround by triggering a 'blur' Event on the input, but ultimately triggering the KeyboardEvent with a Tab or Comma would have been a better way of interacting.

Native JavaScript, particularly JS packages, is not my forte but I'm sure a simple solution to this issue would be to modify the event listeners to work off Keys rather than KeyCodes.

Wrong key code on Turkish keyboard

When press "ö" character in Turkish keyboard that pretending ENTER key.
"ö" key code is 188 and that key code had defined for COMMA in tags-input.js.

Glitch when blurring tags field

When the mouse is clicked outside the tags area, the tags highlight in red for a split second, before returning to normal.

MIT or 3 clause BSD

Just noticed the bower file has 3 clause BSD as the license, but the LICENSE file is MIT. Happy either way but they should probably match up, and since it's your project you get to pick.

JSFiddle Demo is broken.

I get the error "tags-input.js:1 Uncaught TypeError: Cannot read property 'selectionStart' of undefined"

Long placeholders get cut off

I know this repo isn't maintained anymore but having a long placeholder seems to get cut off. Changing the width to 100% seems to solves this.

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.