Skip to main content
Solved

Button labels randomly change in prototype


Ben_Regan

I’m working on a sidebar design and the prototype keeps changing the button labels on me.

I’m using a string variable to control the states of the tabs and the sidebar content. That part works fine.

Each sidebar link is a button component, and the label is a text property within that component.

When I actually use the prototype, it works fine for a second but as soon as I do anything more that just switch tabs, the button labels start persisting between screens. I’ve tried changing the state management settings every which way and I cannot figure out what’s going on or why. I could probably rebuild the prototype in a less efficient way, but I like how atomic this is and would like for it work because it’s so close.

Has anyone run into something like this before, how did you solve it?

Best answer by mo_hamwi

my theory that you are using the same layers Names in here

try to change the layers names in each variation

View original

6 replies

Martina_U
  • 2 replies
  • August 14, 2023

I have the same problem, and unfortunately, I haven’t found an elegant solution. I’ve deleted all the variable collections multiple times on all pages but it didn’t help.

What helped was to detach the components. But that’s not quite the right solution.


Jan_Alexandr_Janicek

I have the same problem and can’t resolve it easily. I think it is a bug 🙃


Allen_Z
  • 7 replies
  • March 28, 2024

Same problem here. When I change the state of the button the default Text appears instead of the text that I entered on the other state (eg changing a button from disabled to enabled when a different button is clicked.


mo_hamwi
  • New Participant
  • 49 replies
  • Answer
  • March 28, 2024

my theory that you are using the same layers Names in here

try to change the layers names in each variation


Ben_Regan
  • Author
  • 3 replies
  • April 9, 2024

So smart that actually worked! Thanks for the tip!


mo_hamwi
  • New Participant
  • 49 replies
  • April 19, 2024

thank you, you’re welcome


Reply


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