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.
Question
Component variants to be changed when you click on a dropdown options
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.