Toggle switch (WIP)

OK, so I’m definitely making progress.

  • The custom component shows up
  • The user can interact with it
  • The label is passed through to the React component successfully

However, the communication between the React Component and Python component is not yet fully working:

  • The component always returns a value of True
  • Passing value=False does not result in the switch defaulting to off.

I’ll take another look with fresh eyes later on (any pointers, of course, most welcome!).

2 Likes