react-tag-input
react-tag-input copied to clipboard
Ability to set maximum tags allowed and filter duplicate tags?
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.