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

"Enter tags..." doesn't come back after removeAll() #88

Closed
arlorose opened this issue Feb 2, 2017 · 3 comments
Closed

"Enter tags..." doesn't come back after removeAll() #88

arlorose opened this issue Feb 2, 2017 · 3 comments

Comments

@arlorose
Copy link

arlorose commented Feb 2, 2017

Hi,

I have an app where I can click on an existing item that has tags, and they populate. But when I create a new item, I clear out all the values from the entry fields... part of that is calling removeAll() on my taggle instance... and while all the tags go away, the placeholder "Enter tags..." doesn't appear. If I click into it and back out it shows up.

Ever seen this before? Am I clearing out the tags incorrectly?

@okcoker
Copy link
Owner

okcoker commented Feb 2, 2017

Interesting. This is a bug. In the meantime, here's a solution until that gets fixed:

https://jsfiddle.net/okcoker/eb3o47b3/8/

Just focus & blur the input programatically.

@okcoker
Copy link
Owner

okcoker commented Feb 2, 2017

Released! https://www.npmjs.com/package/taggle

@okcoker okcoker closed this as completed Feb 2, 2017
@arlorose
Copy link
Author

arlorose commented Feb 3, 2017

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants