How do I make the checkbox label clickable?

Hi! I am using the checkbox field component (and I have also tried the primative) and I am finding that the checkbox/icon itself is clickable - the label is not. Typically in form markup the input would be named and the label designated as for the checkbox so if you clicked on the label span it would also click the icon.

It’s a minor UX thing but it really bugs me when labels aren’t marked up as clickable for their associated checkbox.

How can we achieve this with Appgyver? Or is t something that’s simply not possible?

you can do that by having an if condition it the tap event of the label, where you say if the var (that is connected to the checkbox) is true, then set that var to false and if its false then set it to true.