mbenford/ngTagsInput — pull request #113 by eupharis (2014-04-02 22:41:36+00:00)
Title: feat(tagsInput): Add addOnTab option

Is this a feature ngTagsInput wants?

This change causes 18 tests to break. But all the functionality still works in my app.

Let me know if the functionality is wanted, and I'll dig into why the current tests fail and write some tests for the new option of my own and fix this PR.

Cheers,
Dan
(PS never submitted a pull request to an OS project before, so lemme know if you have any tips on my "form" here.)

Commit Msg:

The option addOnTab defaults to false, which should maintain current
behavior. When addOnTab is true and you hit tab with no text entered,
addOnTab option advances to the next field (like normal html form).
When you hit tab with text entered, addOnTab option completes the tab
AND leaves you inside the current tagsInput

Basically make ngTagsInput like gmail emailTo address tags.