mbenford / ngTagsInput

Tags input directive for AngularJS

Home Page:http://mbenford.github.io/ngTagsInput

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I clear the $query value after I have added a tag

ewahner opened this issue · comments

Title says it all but I am trying to clear out what was typed after a user selects a tag. Was hoping to plug into the on-tag-added or on-tag-adding but I don't seem to be able to get a hold of the $query value. I don't want the user to have to backspace to find something else. I imagine I could find a jquery solution but was wondering if there is some hidden functionality that would allow me to do this within the directive.

BTW awesome directive.