You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I initialized tagify input then get tags from my server, this is ok. Then I try to create new tag(also on my server), everything is ok but if i try to remove this created tag, tagify remove it from html but input value not refreshed.
In this code you can see I update input value because when tag was added, I must set new tag ID but tagify not update tag id (code in red box). How can I add a new tag from my server? What is the best way?
The text was updated successfully, but these errors were encountered:
The transformTag method cannot person anything async and will take no affect.
what are you trying to do?
You should work with the tagify.on("add", callback) event so when a tag has been added by the user, you will update your server (also do the same for the remove event)
I initialized tagify input then get tags from my server, this is ok. Then I try to create new tag(also on my server), everything is ok but if i try to remove this created tag, tagify remove it from html but input value not refreshed.
In this code you can see I update input value because when tag was added, I must set new tag ID but tagify not update tag id (code in red box). How can I add a new tag from my server? What is the best way?
The text was updated successfully, but these errors were encountered: