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
It's not possible to select a different item if the items' labels and keys are the same, for example:
<AutocompleteselectedKey={value}onSelectionChange={setValue}><AutocompleteItemkey="cat"value="cat">
cat
</AutocompleteItem><AutocompleteItemkey="dog"value="dog">
dog
</AutocompleteItem></Autocomplete>
NextUI Version
2.3.6
Describe the bug
It's not possible to select a different item if the items' labels and keys are the same, for example:
Your Example Website or App
https://codesandbox.io/p/devbox/interesting-cohen-k27z8w
Steps to Reproduce the Bug or Issue
Expected behavior
I'd say labels and keys can be the same and it shouldn't affect the autocomplete behavior
Screenshots or Videos
Screen.Recording.2024-05-05.at.7.04.16.PM.mov
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: