ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

Track by broken

Open ChristianKohler opened this issue 11 years ago • 9 comments

See: https://github.com/angular-ui/ui-select/pull/1208#issuecomment-150211648

ChristianKohler avatar Oct 22 '15 14:10 ChristianKohler

+1

samuel-weber avatar Oct 22 '15 14:10 samuel-weber

While not really a fix - I've found if you add the filter before the track by it will work eg:

 <ui-select-choices repeat="thing in things | filter: $select.search track by thing.id">

chris-hanson avatar Oct 22 '15 22:10 chris-hanson

Hi, Thanks for the comment. We cannot do this in our solution. Do so we have to refactor the whole code... According to the documentation it should be possible to use the standard syntax: https://github.com/angular-ui/ui-select/wiki/ui-select#examples-async

samuel-weber avatar Oct 23 '15 14:10 samuel-weber

+1

@chris-hanson is correct in that everything is fine if a filter is applied before the track by, but this should be fixed

stringbeans avatar Oct 30 '15 19:10 stringbeans

+1 I'm experiencing this aswell. Thanks for the workaround @chris-hanson

MikaAK avatar Oct 30 '15 19:10 MikaAK

:100: It's really important feature to fix!

masterspambot avatar Nov 24 '15 14:11 masterspambot

+1 when filter is not present, but track by is, then app throw exception

KrakenTyio avatar Dec 08 '15 10:12 KrakenTyio

+1

meyerds avatar Dec 16 '15 23:12 meyerds

Closing as resolved by #1477

user378230 avatar Mar 15 '16 23:03 user378230