Skip to main content
Question

Edit component property conditionally based on a frame-level variable?

  • October 17, 2024
  • 0 replies
  • 15 views

Ashlee_Williams

I’m mocking up a flow of a process which contains accordions that should be conditionally expanded or collapsed based on what step the user is in the process.

I know the easy way to do this is to create a screen for each step of the process with the relevant accordions manually changed to their collapsed or expanded states, but it would be lovely if there was a way to do this via variables.

Ex: if a component is meant to shown on step 1, then its expanded/collapsed boolean would be tied to a conditional. Something along the lines of “If processStep = 1, show. Else, hide.” And so on for all the other components.

This topic has been closed for replies.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings