Skip to main content
Participant
January 23, 2021
Answered

Can I change the text in multiple component states automatically

  • January 23, 2021
  • 1 reply
  • 6198 views

I work on a project where I use a lot of components with different states (hover, clicked etc.) and everytime I create a new screen with a component such as a text input, I have to change the text in every state, is there any way to automatize this process?

Thanks

Correct answer Spas K.

Sadly, no.

States only inherit default state edits on the main component. You will have to update the states of every instance manually. It kinda defeats the purpose of having components & states, but yeah... You can upvote this "feature" though 🙂

There's also this thread, in which you will find the only response from Adobe on it. They say they are going to work on it, but can't say how much of a priority it is, as we've been asking for it for a year now.

 

At least nested components kinda work now, so you can hack it in some situations, like a simple button hover where the font color won't be changing. 

1 reply

Spas K.
Community Expert
Spas K.Community ExpertCorrect answer
Community Expert
January 23, 2021

Sadly, no.

States only inherit default state edits on the main component. You will have to update the states of every instance manually. It kinda defeats the purpose of having components & states, but yeah... You can upvote this "feature" though 🙂

There's also this thread, in which you will find the only response from Adobe on it. They say they are going to work on it, but can't say how much of a priority it is, as we've been asking for it for a year now.

 

At least nested components kinda work now, so you can hack it in some situations, like a simple button hover where the font color won't be changing.