In ui-select-choices repeat="type in (types| filter: $select.search) track by type.name
. In track by type.name
part, given the name
is NOT a key. I tried adding two exactly the same data (different key). Error reference
Why is it returning a duplicate error? Why not ui-select just display the two duplicated data since they have different key? Any technical explanation for this?