Skip to main content
Question

Mixed state checkbox

  • November 17, 2023
  • 5 replies
  • 428 views

Tara_Price2

Looking for some help with variables. I’m creating a table list as below. I want it to show as mixed when some, but not all of the documents are selected. But be able to toggle all documents on or off. Any suggestions would be greatly appreciated.

This topic has been closed for comments

5 replies

Tara_Price2
  • Author
  • Active Member
  • 23 replies
  • November 17, 2023

Basically I want to use a selection of another layer to change a component between states that do not have a strict true / false option.


Gayani_S
Figmate
  • Community Support
  • 1978 replies
  • November 21, 2023

Hey Tara, thank you for reaching out! I am just trying to recreate this. I’ll come back to your if I have found a good workaround.


Tara_Price2
  • Author
  • Active Member
  • 23 replies
  • November 28, 2023

I manage to get something working, but it is incredibly complex. I ended up adding two booleans for the component. One for selected, one for mixed.


Nate_G
  • Power Member
  • 180 replies
  • November 28, 2023

There were 2 forum questions a while back around checkboxes that I put together some examples that may help.

Example 1 - Select all + counter
Example 2 - Enable/disable checkboxes


Tara_Price2
  • Author
  • Active Member
  • 23 replies
  • February 16, 2024

SOLVED.

With some of the recent updates to Figma, I’m able to set a “none” state using strings. with mixed and all variants.


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