formkit icon indicating copy to clipboard operation
formkit copied to clipboard

Clear radio group only clears value not checked state

Open Christo44 opened this issue 8 months ago • 1 comments

Reproduction

https://formkit.link/e2015571c0b011431983d3a84bd4c2fb

Describe the bug

Cannot clear radio group checked state

To reproduce Expected: On click of clear button, value and checked state is cleared.

Unexpected: If i click on clear, the value is cleared, but the checked state is not.

Environment • OS: MacOS 15.2 • Browser: Chrome and Arc • Version: Chrome 132 and Arc 1.79

Christo44 avatar Apr 10 '25 11:04 Christo44

Further detail, it does clear, but only if a value was selected after the initial value. If the value does not change, then as the OP states setting its value to undefined does not remove the checked state

justin-schroeder avatar Dec 11 '25 15:12 justin-schroeder