We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting this error in the browser console when adding the same tag name twice, for example, adding tag1, tag1,
Also, both tags are removed (instead of keeping the original one)
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler? at Ja (https://ajax.aspnetcdn.com/ajax/jquery/jquery-3.1.1.min.js:3:16117)
jQuery tagEditor v1.0.20
The text was updated successfully, but these errors were encountered:
Its also reproduceable on the Demos page 'Basic setting': add duplicate value using space as delimeter
Sorry, something went wrong.
+1
I fixed it by adding a try { } catch on line 201 like this:
$('.tag-editor-tag', ed).each(function(){ if ($(this).text() == tag) { try { input.closest('li').remove(); } catch(e){} } });
see #117
There is also a corresponding Pull-Request #119 which, in my opinion, fixes this bug very well.
Another way to reproduce: type any tag, type comma to separate and create tag. Now type backspace, followed by comma again. Boom. Error.
No branches or pull requests
I'm getting this error in the browser console when adding the same tag name twice, for example, adding tag1, tag1,
Also, both tags are removed (instead of keeping the original one)
jQuery tagEditor v1.0.20
The text was updated successfully, but these errors were encountered: