The Wayback Machine - https://web.archive.org/web/20200608095432/https://github.com/topics/tagsinput
Skip to content
#

tagsinput

Here are 18 public repositories matching this topic...

mykter
mykter commented Mar 31, 2018

The README and provided example has:

let suggestions = states().filter((state) => {
    return state.name.toLowerCase().slice(0, inputLength) === inputValue
  })

I think it should be something equivalent to:

const suggestions = states().filter(
  state =>
    inputLength > 0 &&
    state.name.toLowerCase().slice(0, inputLength) === inputValue
)

Otherwise the sug

stackoverfloweth
stackoverfloweth commented Jan 24, 2020

With this propadd-on-key="[13,9]" I can add tags from my autocomplete dropdown with a tab press. The behavior itself works as expected, I can arrow-down to an item or mouse hover and press tab to insert the tab. It correctly keeps the focus within the tabs-input, however the autocomplete window no long opens until you blur and re-focus manually.

Version 2.1.0

Example
[http://jsfiddle.

bampisSyk
bampisSyk commented Jul 12, 2018

Issue description

I've came across a proptype warning when passing an int as options key.
focusItem is declared as a string in App.js seems reasonable enough so i think a simple conversion is enough as a think many people may try to pass an int as the option key, my case was passing the product_id from a an api.

I know that this is against the PropTypes use but i think an exception he

bug

Improve this page

Add a description, image, and links to the tagsinput topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tagsinput topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.