7
Views
2
Comments
Solved
How to make container in a list unique
Question

Hi,

I have a usecase, where I have a list and two icons inside: edit icon and a loader icon:

I have a flag called IsAdminOngletLoader when it is true the loader shoud be displayed.

here's the result :

the problem when I click on the icon btn to make the flag true to show the loader, it is applied for all icons, what I'm looking for is just to apply on the click item.

could you help please ?

Solution

The variable you are using is just a variable is not specific for the specific record on the list... So you need to add that variable to the list structure to be able to change the boolean value for that specific record

done, thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.