Skip to main content
Question

Component variants to be changed when you click on a dropdown options

  • April 14, 2024
  • 1 reply
  • 143 views

I have created a component with 5 variants and DropDown with 5 options. I am trying to show a variant from the component by selecting an option from the dropdown.
I am trying with boolean set up for the variants, by click event from the option, I am setting up of the True for the selected variant rest all false. But it is not working for me.
Do you have any suggestions?
Thanks in advance.

This topic has been closed for replies.

ksn
Figmate
  • Community Support
  • April 15, 2024

Hello @Arunprakash_Sambandam! Can you share a copy of the file you’re building this on (or a duplicate with the same actions/items)? If you can’t share the file, could you share a screen recording of the build you have?

I’m trying to get a better visual of the process you’re working on, but no worries if you can’t share. Could you maybe provide step-by-step how you’ve built out the dropdown list you mentioned?


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