alexgorbatchev / jquery-textext

A super awesome, customizable text input supporting tags, autocomplete, ajax and other goodness in a crazy cool a-la cart way.
http://textextjs.com
MIT License
1.27k stars 202 forks source link

Tags: input value is deleted when Enter is pressed, not when tag is added #197

Open BrunoSalerno opened 8 years ago

BrunoSalerno commented 8 years ago

I have noticed that the input value is deleted when the Enter key is pressed, not when the tag is actually added. I'm using other plugins at the same time with the same input (that listen to the keypress event too), and I get the input content removed when Enter key is pressed even when I'm not adding tags to the input.

I have a PR ready to submit if you agree this is an issue to be addressed.

BrunoSalerno commented 8 years ago

@alexgorbatchev what do you think about this? Any plans regarding maintenance of this repository?