Skip to main content

I am creating a card component with 2 variables one is the “On” state and the other is the “Off” state. In the card component there are child components “Button” and a “toggle”. 

In the prototype when toggling back and forth between the On/Off states before selecting any of the buttons there is nothing wrong but, if I select anything then toggle off the state of the buttons stays what it was in the previous state. (photo here to show what’s happening)


Does anyone know why this could be happening? Is this a bug? or is it the way that I created my components. 

I will put in the photos of everything. The only thing so far that I have tried that kept the states was changing the names of the buttons on the “Off” state but if you do that then the text overrides don’t carry over. 
 


 

 

Be the first to reply!

Reply