Closed russssl closed 9 months ago
I will fix this in the next release. will wrap all console.warn
& console.log
with a dedicated wrapper which by default will not log anything unless specifically set Tagify.logger.enabled = true
@yairEO Why did you decide to go with default enabled in v1.23?
@russssl -because I think it is helpful for developers, and non-developers (users) are not working with their console open anyway so it doesn't matter in that case
@russssl -because I think it is helpful for developers, and non-developers (users) are not working with their console open anyway so it doesn't matter in that case
yes, I understand your logic of course but in my use case, it just seems wrong to have a warning when I did nothing wrong or the code is not wrong just I have no tags inside input. But anyway, I turned it off so it does not bother me anymore :)
I have now fixed the core of this issue and you will not see this specific error again even if you enable debugging. will push a new version today, soon
I have now fixed the core of this issue and you will not see this specific error again even if you enable debugging. will push a new version today, soon
Awesome
🫡
Prerequisites
💥 Demo Page
https://codesandbox.io/p/devbox/tagify-bug-7lryqm?file=%2Findex.html%3A35%2C1
Explanation
When
enforceWhitelist: true
enabled, input is empty and Backspace clicked 'tag element does not exist' appears in the console. It does not affect the input itself just a little annoying seeing spam in the console