I’m building an expandable tree menu. I have a Repeating Group (RG_Parent) of type “Country”. Inside each cell, there is a Button “+” and a nested Repeating Group (RG_Child) of type “Division”, filtered by Current cell's Country.
The goal is : when the user clicks “+”, RG_Child expands below the country row to show all its divisions as a list (like an accordion/tree menu).
RG_Child has visible on page load unchecked, and a Conditional :
-
When
Current cell's Division's Country is RG_Parent's custom_state -
Then
This element is visible
On “+” click, workflow runs :
- Set state
RG_Parent's custom_state=Current cell's Country
The workflow executes correctly (confirmed in debugger), the state updates, but RG_Child never becomes visible.
Is this the right approach for an accordion/expandable list in Bubble ? If not, what is the recommended pattern ?