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

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 was automatically closed 30 days after the last reply. New replies are no longer allowed.