You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error happens: xx.setSelectionRange is not a function
Seem this issue was brought by #2153, for my project, there are several elements under Combobox.Input and the data.inputRef.current is not a valid HTML input.
Hopefully we could handle this case as well, thanks a lot.
The text was updated successfully, but these errors were encountered:
Hey! Thank you for your bug report!
Much appreciated! 🙏
This is not the intended way of using the Combobox.Input. The as prop is exposed so that it is easier to use existing components you already have, for example:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
v1.7.8
What browser are you using?
Chrome
Reproduction URL
https://codesandbox.io/s/boring-lake-5vo97g?file=/src/App.tsx
Describe your issue
xx.setSelectionRange is not a function
Seem this issue was brought by #2153, for my project, there are several elements under
Combobox.Input
and thedata.inputRef.current
is not a valid HTML input.Hopefully we could handle this case as well, thanks a lot.
The text was updated successfully, but these errors were encountered: