Ok so i have a reusable element that is just an icon that when pressed display a group focus with three buttons (see image below)
I then put this icon/reusable element into a RG on one of my pages (see image below)
The problem is, how on earth do i make it so that when one of these three buttons in the group focus is pressed that it displays a popup on the page that the reusable element is on?
I thought i can have the button press set the state of the reusable element then have a workflow on the main page that display the relevant element when the reusable elements set state is a certain way but The reusable element and a the page it exists on donât talk to each other so i canât do that.
I tried to do a âwhen condition is trueâ workflow on the main page but it wont let me reference the icon/group. Maybe because itâs ultimately in a repeating group
Yeah it wonât work because itâs in a repeating group. However if your popup is within the reusable then you can reference it within the reusables workflows.
Can you just put the popup inside the reusable element?
Whatever your cellâs data type is, pass that through the the reusable element as the same type, then when you press the button show the popup, do the âDisplay dataâ action and pass the type through to the popup.
Then the popup is referencing the same âthingâ as the cell if thatâs how you have it structured