angular-tagger icon indicating copy to clipboard operation
angular-tagger copied to clipboard

avoid duplicated tag

Open tuanchauict opened this issue 10 years ago • 4 comments

tuanchauict avatar Jan 12 '15 06:01 tuanchauict

@tuanchauict please explain

teamon avatar Jan 12 '15 09:01 teamon

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

tuanchauict avatar Jan 12 '15 09:01 tuanchauict

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)

aldrakos avatar Jul 21 '15 18:07 aldrakos

Same problem here

NicolasBonduel avatar Mar 30 '16 13:03 NicolasBonduel