Open glfeng318 opened 3 weeks ago
<input type="radio" name="expand" _="on click halt the event remove [@checked] on me" class="ml-4"> not work as expected. And how to toggle @checked attribute of a radio?
<input type="radio" name="expand" _="on click halt the event remove [@checked] on me" class="ml-4">
@checked
Simply remove [ and ]:
[
]
_="on click remove @checked"
What behaviour should have a toggle radio button?
_="on click if me match <:checked/> ..." _="on click if me match <:not(:checked)/> ..."
_="on click if me match <:checked/> ..."
_="on click if me match <:not(:checked)/> ..."
<input type="radio" name="expand" _="on click halt the event remove [@checked] on me" class="ml-4">
not work as expected. And how to toggle@checked
attribute of a radio?