You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use ng-tags-input module together with google search places, where I would type some city and google would fill all info about place to tag item.
In tag list there would be items like: Prague, CZ; Athens, GR .. and etc.
But when I add another place in Prague, CZ, it will add info to array but angular ng-repeat will get stuck because of "Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys" error.
I wanted to use ng-tags-input module together with google search places, where I would type some city and google would fill all info about place to tag item.
In tag list there would be items like: Prague, CZ; Athens, GR .. and etc.
But when I add another place in Prague, CZ, it will add info to array but angular ng-repeat will get stuck because of "Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys" error.
Which can be fixed by replacing "track by track(tag)" with "track by $index" in this file:
https://github.com/mbenford/ngTagsInput-bower/blob/master/ng-tags-input.js
The text was updated successfully, but these errors were encountered: