I hope to describe my problem well
You will see that I have 2 images in a gallery, these are
White Star
Y
yellow star
when I click on the white star it is hidden and the yellow star is shown and vice versa when I click on the yellow star it is hidden and the white star is shown
The problem is that it is happening in all records.
look at the next gif image
I click on the white star of the record "Approval of documents"
and the yellow star appears in all records
it should appear only in the record that the star was selected
star white-
OnSelect- set(visible, true)
visible- !visible
star yellow
OnSelect- set(visible, true)
visible- visible
Hi @octaking
Set function is setting a variable which applies to show hide logic of all your items
Your best bet would be to create a collection and then drive your gallery from that collection
You can add a column to that gallery called ImageSelected
Each time the image is clicked, Update that gallery line item with ImageSelected to Yes or No
and accordingly drive the visibility
Regards,
Reza Dorrani
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly