Replies: 1 comment
-
@dcrall Hey, I am in a similar situation. But even my custom search input doesn't work. This is the official example from the docs but with a custom input component
I get this error when I type in the input: ![]() What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. I'm using Combobox to build a typeahead search. I have my own custom search input component that is basically a div wrapping an input but handles our brand styles, accepts icons, and has an embedded clear button. My template looks something like this:
For the most part this is great. However,
<ComboboxInput>
is addingtabindex="0"
to the root div of my search component, which creates an extra focusable element. So when I tab into the component the div focuses before my input does.Is there anyway to get around this? It seems reasonable that if I am taking over the input template that I should be responsible for setting the
tabindex
Big thanks to the HeadlessUI team for the great project.
Beta Was this translation helpful? Give feedback.
All reactions