Dropdown duplicates the first item throughout

Hi Everyone,

I am using a server action to filter the list of entity. Then I am storing the output of this server action to a list of local storage of the same entity. Then I have assigned the list of label to the dropdown on the screen. While debugging I can see that the correct list is being stored in the list of local storage of the same entity but in the dropdown only the first label is being duplicated throughout the length of the dropdown. Please help!


Thanks & Regards

Shivya Pant

Hi Shivya,

can you give me the OML or some screenshoots of your logic?

Cheers,
Nuno Verdasca

Can you try do this, maybe the problem is wrong use of List.Current in your application. To fix it, stop using List.Current to fill in the record list; instead do it by creating a temporary record that you use to make all the insertions.

Hope this helps!

Cheers,
Nuno Verdasca

Solution

Other sugestion Shivya,

I found this post, and I believe if the previous one doesn't help you, it will solve your problem:

Cheers,
Nuno Verdasca



Solution

Hi Nuno Miguel Verdasca,

Thank you for your suggestions and solution.


Regards,

Shivya Pant

You do not have to thank Shivya, we are all here to help each other, and to grow together. Any questions you have, do not hesitate to contact me.

Cheers,
Nuno Verdasca