lumapps / lumX

The first responsive front-end framework based on Angular & Google Material Design specifications
https://ui.lumapps.com
MIT License
1.96k stars 274 forks source link

Track by error in lumX select when multiple elements have the same value #623

Closed StephaneConqDGC closed 5 years ago

StephaneConqDGC commented 5 years ago

Hi,

I'm using a LumX select : https://ui.lumapps.com/components/select

I have an array in my lx-choices that looks like this :

image.

So two values that are the same.

And I have an error when I click on the select :

image

Here is the link in the error.

My guess is there is a ng-repeat for the options and a track by on the value, but 2 values are the same, therefore it won't work.

My select options looks like this : image

Would you please comme back to me with a solution ?

Thanks in advance.

clementprevot commented 5 years ago

Sorry, but we don't have any other solution to offer you than don't use duplicated values.