react-tag-input icon indicating copy to clipboard operation
react-tag-input copied to clipboard

Ability to set maximum tags allowed and filter duplicate tags?

Open mrlubos opened this issue 5 years ago • 0 comments

Hey! Another feature I'd be interested in having is being able to filter duplicate tags and limit the amount of tags I can input. This is currently impossible without doing some complex magic because the component accepts tags only on load, so even if I implemented this logic in the onTagsChanged() handler, I cannot simply update the passed tags array.

Side question: Why do tags have to be objects? You destructure them so the only other value (index) would've been lost anyway.

mrlubos avatar May 17 '20 06:05 mrlubos