-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React duplicates tags #834
Comments
Let me help you, how can i reproduce this? |
You are using Tagify as a controlled component, which it isn't:
Do not re-feed the |
Here's an example: https://codesandbox.io/s/tagify-react-issue-template-forked-drwq4?file=/src/index.js As you can see, the |
in the new release about to be push this will be addressed in the README and also code changes were made to allow setting the |
I've made you a demo: |
Hi!
There is some unexpected behavior I've exprerienced. Here is the code:
So then I adding a new tag, it adds in input field and my value variable updates simultaneously and adds new tag in field as well. So I have two equal tags added. How can I prevent this?
Thanks!
The text was updated successfully, but these errors were encountered: