-
Notifications
You must be signed in to change notification settings - Fork 425
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
Duplicate entry on hit Return for suggestion #1275
Comments
Hi, can you please add steps to reproduce? |
Hi @yairEO -- I can't reproduce it all the time. Basically, I enter the full tag, and then at the end I hit "enter". My tagify settings use a suggestion list, but are not restricted.to the whitelist (user can add new entries). I'm using the files from the CDN referenced on the README: https://github.com/yairEO/tagify?tab=readme-ov-file#option-1---import-from-cdn -- I downloaded these files and use them locally in my Flask project. If there is something more up-to-date I should use, let me know. ps - thank you so much for your responses. Running a free open source project of any time is a real investment of time, and a real contribution. Much appreciated! |
Thanks! Yeah I've invested probably a thousand hours at least for this codebase alone, and I have many other open-source projects as well :) it's very time consuming with no benefits what so ever except satisfaction for helping developers by creating good tools Without steps-to-reproduce this is going to be difficult to fix.. does this happen often? |
It hasn't happened for a while now, so I believe this should be closed. If it happens again, I'll try to collect more useful information. I'll assume it's a user error until proven otherwise. Re the open-source and satisfaction: I hear you, I'm the same, though not on the scale of tagify. tagify will be helping me out on my project, Lute, a free open-source tool for people to learn languages through reading -- so you'll be having an impact there as well. I'll close this issue, but perhaps in the meantime you can let me know what attribution is good for tagify. Would an "acknowledgements" page be sufficient for you, with a brief note about your work? Cheers and best wishes! jz |
I was facing the same issue. It is caused by a combination of having the whitelist fetched with Ajax and @jzohrab I see that you use Ajax for fetching the whitelist as well, and I assume you do it in a similar manner as the example in README.md (which, unfortunately, is causing issues) — see if not calling |
Thank you @Biszu , I changed |
Prerequisites
Explanation
With a whitelist of suggestions, hitting Return should enter the selected value as a tag only once.
The selected value is entered twice, and the extra entry is deleted after a short delay. Note this doesn't happen every time, I'm not sure why it occurs at all.
No error, just a dup.
This is not a critical issue! Just looks funny for users. Thank you very much!
The text was updated successfully, but these errors were encountered: