I seem to have a lot of problems using the class toggle for switches.

Checked code with Claude AI it says it should work…is this a bug??
I seem to have a lot of problems using the class toggle for switches.
Checked code with Claude AI it says it should work…is this a bug??
You should use dmx-bind:disabled=""
instead of just changing the class, you want to actually use the disabled attribute. So replace the dmx-class:disabled
with dmx-bind:disabled
and tell Claude … she/he can’t code
Thanks Teodor,
Works a treat!
I will pass on the message to Claude, I won’t tell him/her it was from you just incase of any repercussions…