reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

`event["target"]` value for radio input and checkboxes is always `'on'`

Open Archmonger opened this issue 1 year ago • 1 comments

Current Situation

The value for any serialized checkbox or radio button is always on when viewed within an event["target"]. This effectively makes them unusable within a form's on_submit event.

Proposed Actions

Fix how we serialize these input fields, and look for any other outliers that might exist.

Archmonger avatar Jan 14 '24 00:01 Archmonger

If set value xxx in radio input, the value always be xxx. So I can not get which radio input I choose.

zx013 avatar Feb 07 '24 08:02 zx013