Skip to main content
Question

Displaying component variants (bound to a text variable) via separate button not working as expected

  • July 14, 2023
  • 1 reply
  • 421 views

I created a component containing 2 variants. I also created a string variable with 2 modes - named the same as the 2 variants. I placed an instance in a frame and bound the property to the variable. I added two buttons to the frame. The first button sets the variable to the second mode. The second button sets it back to the first mode (I’m going to use a conditional with a single button but I need to get this working first). The first button works as expected but the second button doesn’t reset the instance back to mode 1.

Am I overlooking some limitation or is this a bug?

This topic has been closed for replies.

1 reply

  • 0 replies
  • August 13, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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