Closed maniravirala closed 3 months ago
@maniravirala is attempting to deploy a commit to the SyntaxUI Team on Vercel.
A member of the Team first needs to authorize it.
Why there are so many changes in package lock json?
I will raise another PR, I did a small mistake
Pull Request: Fix for Duplicate Tags in TagInput Component
Description
This pull request addresses the issue of duplicate tags being added in the
TagInput
component. Aunique
prop has been introduced to control whether duplicate tags should be allowed.Related Issue
Fixes #246
Changes
Component Enhancement:
unique
to theTagInput
component.unique
is set totrue
.Keyword Addition:
Enter
key or comma is pressed, the component adds the new keyword if it's not already present in the list.unique
is set totrue
.Screenshots
Before:
After:
Key Features
unique
prop is enabled, duplicate keywords are prevented.Example Usage