headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

Uncontrolled Radio Group and Combobox do not reset hidden inputs when a native form reset happens

Open tobeycodes opened this issue 2 years ago • 0 comments

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

latest

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/p/devbox/pensive-khayyam-h6pytf

Describe your issue

Using uncontrolled inputs RadioGroup and Combobox do not reset the hidden inputs values when a native form reset is called. This does work for Switch.

tobeycodes avatar Nov 24 '23 16:11 tobeycodes