Skip to main content
Question

How do I get nested components variants to work?


alexf
  • New Participant
  • 27 replies

I have an editable table row:

That has a nested component to enable disable using checkbox:
image

When editing the prototype the edit row variant accepts the nested components variant and shows correctly:

But when I preview the mockup, it ignores the nested component variant:

Any tips to fix this?

This topic has been closed for replies.

3 replies

Kelsey_Whelan
Figmate
  • Product Manager
  • 40 replies
  • October 4, 2021

Hey @alexf! Do you have a file I could look at? I’m not quite sure what I’m looking at. In your last two screenshots, is the toggle also changing from “Disable” to “Enable” when you view it in prototype mode?


alexf
  • Author
  • New Participant
  • 27 replies
  • October 5, 2021

Hey @Kelsey_Whelan, here’s the file.

It’s more the checkbox table cells. When I see the green tick icon, I want to see checkboxes ticked on edit. When x icon, I want to see checkboxes unchecked on edit. The component won’t save the variant I’ve selected on the nested components though.


  • 0 replies
  • November 4, 2021

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


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