[Solved] Switch "on Value Change" event fails

In this project (see first screen), I cloned a container with a switch. When I change one of the switch’s values, I expect it to display the new value in the labels. But it doesn’t.

Hi @tatiang, thanks for flagging this. I’ll have to take a closer look and see why the values are not moving over with the component block. Hang tight and we’ll work on this asap.

1 Like

@tatiang Thanks for your patience. No bug here, just a small syntax error in the blocks–the UI component is a slider, but the blocks are referring to a switch, which is not being used in your project. In this case, too, you’ll probably want the slider as the switch component can only show true/false values.

Oh wow… that’s what I get for rushing. Thank you!

1 Like