Reputation: 13
I am using ng-tags-input with autocomplete. Some of my autocomplete values have commas in them. When a user selects an autocomplete value which has a comma, it splits it into multiple tags on the comma. Is there a way to have this show up as one tag?
For example, my autocomplete shows Mike, Jim
and when the user clicks on that, it will split it into two tags: Mike
and Jim
. I want it to be one tag - Mike, Jim
Thanks.
Upvotes: 1
Views: 1230
Reputation: 22743
It is easy, add this attribute in you HTML
add-on-comma="false"
Upvotes: 2