Skip to content
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

HtmlFormElement's reset function does not reset the tagify's <tags> elements #905

Closed
krishraghuram opened this issue Sep 16, 2021 · 1 comment

Comments

@krishraghuram
Copy link

HTMLFormElement has a reset method. However, on calling this, only the original input element is reset, and the tagify's <tags> element is not reset.
Demo: https://jsbin.com/qejabivodu/2/edit?html,js,output

Currently my workaround is to listen for the reset event on these forms, and manually call tagify's removeAllTags method. But it would be best if this can be done by tagify itself.

@yairEO
Copy link
Owner

yairEO commented Sep 18, 2021

Great idea. just implemented and will be released in the next version (soon!)

@yairEO yairEO closed this as completed in cd354ef Sep 21, 2021
yairEO pushed a commit that referenced this issue Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants