Closed maniravirala closed 3 days ago
@maniravirala is attempting to deploy a commit to the SyntaxUI Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
syntax-ui | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 1, 2024 2:44pm |
Check it once, I removed as you said
Thank you for your valuable contribution to SyntaxUI! 🌟
Are you part of our SyntaxUI Discord community yet? • If yes, please reach out to me there – a special contributor badge awaits you! • If not, we'd love to have you join us. It's the perfect place to connect, share ideas, and stay updated on all things SyntaxUI.
Once again, thank you for helping shape the future of SyntaxUI. Your contribution makes a real difference! 💪✨
Description
This pull request addresses the issue of duplicate tags being added in the TagInput component. A unique prop has been introduced to control whether duplicate tags should be allowed.
Related Issues
Fix #247
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
.Key Features
unique
prop is enabled, duplicate keywords are prevented.Example Usage
Screenshots
Before:
After: