Skip to main content
Participant
November 7, 2019
Question

State component in repeat grid - Edit test field in different state

  • November 7, 2019
  • 1 reply
  • 304 views

Hello,

 

I have been using the latest great update of XD and especially the state components. I have some issues when using them within a repeat grid when I want to customize the label for each occurence.

 

Here is the exemple of the component:

 

 

 

With 4 different states:

 

 

 

 

 

 

 

 

 

 

 

When used in a repeat grid, the label 'prestation' can only be updated on one state:

As soon as I switch to another state for the first occurence it reset the label to what the first occurence contains:

 

 

 

If anyone know how to have custom names for all the states it would be great.

 

Thanks in advanced for your help,

 

Pierrick

This topic has been closed for replies.

1 reply

Preran
Legend
November 7, 2019

I think the issue is that you have selected the label to be part of the component. I have created a file based on my comprehension of what you are trying to do. Can you have a look and let me know? I have shared my XD file with you over a private message. Have a look and let me know if that helps.

Participant
November 7, 2019

Thanks a lot for your sample. The only thing is that the color of the label is changing. When no option are selected it's grey and when on of the two buttons is activated it's changing to a color to highlight the label.