angular-tagger
angular-tagger copied to clipboard
avoid duplicated tag
@tuanchauict please explain
OK, maybe the duplicated tag only happens in AngularJS 1.3 (I'm not sure)
When enter two tags with the same string, for example: "a", the tagger
add them into its tags
-attribute. Angular 1.3 does not allow duplicate instance in ng-repeat
, therefore, it throws error
I am seeing this as well: trying to add a duplicate tag should at least "do nothing", but instead throws an error and the module stops working. Tag is still added to list, and if e.g. you save the list, it will also throw an error when you go back to edit the tags (so no tags will be shown)
Same problem here