Replies: 1 comment
|
For the Give the search its own const countrySearchId = useId();Then replace just the <Input.Wrapper id={countrySearchId}>
<Combobox.Search
id={countrySearchId}
value={search}
onChange={(event) => setSearch(event.currentTarget.value)}
placeholder="Search country"
aria-label="Search country"
/>
</Input.Wrapper>Keep A portal does not isolate React context, so moving the dropdown into a portal does not prevent this inheritance (React portal documentation). Verification: 8.3.3 ComboboxSearch source, Input’s ID selection, and Input.Wrapper documentation. This diagnosis is based on that version’s source; I have not run your application. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am using mantine
v8.3.3. Here is my component:as you can see, I'm setting

id="whatever-id-we-set"in theCombobox.Search. Yet, we got warning in the console like so:the
whatever-id-we-setis nowhere tobe found in the element. Instead, it uses the auto-generated id (mantine-7nps9nqf6) by Mantine. Even worse, it generates the same ID for bothTextInputand theCombobox.SearchAll reactions