Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

avoid duplicated tag #14

Open
tuanchauict opened this issue Jan 12, 2015 · 4 comments
Open

avoid duplicated tag #14

tuanchauict opened this issue Jan 12, 2015 · 4 comments

Comments

@tuanchauict
Copy link

No description provided.

@teamon
Copy link
Contributor

teamon commented Jan 12, 2015

@tuanchauict please explain

@tuanchauict
Copy link
Author

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

@aldrakos
Copy link

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)

@NicolasBonduel
Copy link

Same problem here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants