Hello Everyone,
I am trying the hole day but it seems I can not figure it out.
I have a Gallery with 7 Award Categorys. Every Award has its own Image (I have created on the start of my app)
ClearCollect(AllAward_Types,
{PrimaryId: 1, Type:"Extra-Meile",Award_Color: "#2DAAE1", Description: "The Helpful Feedback Award badge is given to the person who gave critical insight on another person's work.", Icon: 'Extra-Meile' ,Selected:false}......)
Now I have a get the Images but I want every time I click on one of them to change, I have tried to create a collection with the type of award and another image per type and then used this formula
If(ThisItem.IsSelected, LookUp(HoverIcons, Type=ThisItem.Type).Icon,ThisItem.Icon)
But it doesn't seem to work.
I would be grateful for an answer!