headlessui icon indicating copy to clipboard operation
headlessui copied to clipboard

Combobox `disabled` attribute not disabling hidden inputs

Open VictorGlindasPaf opened this issue 1 year ago • 0 comments

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

1.7.18

What browser are you using?

Chrome

Reproduction URL

https://codesandbox.io/p/devbox/relaxed-shtern-vrkmkt?workspaceId=6a20031e-e5fd-43b6[…]ebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

Describe your issue

When passing disabled to Combobox, the hiden inputs it renders are not disabled, and are still submitted via any parent form.

VictorGlindasPaf avatar Feb 16 '24 13:02 VictorGlindasPaf