Trouble changing states between variants (solved)

This is a super basic question but I can’t seem to crack it.

I decided to make my own checkbox because the one I was using in the community wasn’t working for what I need (basically wanted to create master component but it kept getting kicked out because it’s a widget not a component instance).

I created my 2 variants (on, off) following a tutorial I found on youtube, and when I went to test it, nothing happened which was unexpected.

I’ve searched high and low and reworked it 20 different times and I can’t figure out why my checkbox won’t change on click.

Hi. Your component works fine. I just replaced it using the component you’ve made.

2 Likes

Hi Raphael, thank you! It works on my side now. A bit embarrassing it was simple, but I’m glad it works so I can continue my project

1 Like