Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

this fix allow the ng repeat to loop duplicated object in an array, #1677

Closed
wants to merge 2 commits into from
Closed

Conversation

sh977218
Copy link
Contributor

just added track by $index in all the places

sh977218 and others added 2 commits June 21, 2016 22:03
@@ -4,7 +4,7 @@
do not work: [class^="select2-choice"]
-->
<span class="ui-select-match">
<li class="ui-select-match-item select2-search-choice" ng-repeat="$item in $select.selected"
<li class="ui-select-match-item select2-search-choice" ng-repeat="$item in $select.selected track by $index track by $index"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicated track by $index...

@user378230
Copy link
Contributor

Also, please undo changes to /dist files and squash to a single commit. Thanks 👍

@sh977218
Copy link
Contributor Author

@user378230 I'll fix them and do a new PR.

@sh977218
Copy link
Contributor Author

new PR:
#1688
closing this PR.

@sh977218 sh977218 closed this Jun 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants