headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

boolean form values are incorrect

Open lifeiscontent opened this issue 1 year ago • 0 comments

https://github.com/tailwindlabs/headlessui/blob/226042231d7529d530be7c65790fbb681b5adb63/packages/%40headlessui-react/src/utils/form.ts#L27

boolean form values should use the same values they do for native checkboxes, which is "on" or ""

lifeiscontent avatar Aug 07 '24 21:08 lifeiscontent