Favorites Functionality in a Repeating Group

I’m trying to create a favorite functionality within a repeating group. The unfilled heart icon displays perfectly. However, when I add the functionality to change the heart icon to red when clicked, all hearts in the repeating group change to red (guess I should’ve seen that one coming).

I’ve tried to separate the functionality somehow but I don’t know how to dynamically set the position of the red icon, so that hasn’t worked.

Any other ideas for how I can set this up?

@vlfuller

Haa! I feel a little silly on this one. I was so close. Thank you for the references.

1 Like