Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Cannot Change Value after select item in Autocomplete #3213

Closed
anungbisa4 opened this issue Jun 7, 2024 · 2 comments
Closed

[BUG] - Cannot Change Value after select item in Autocomplete #3213

anungbisa4 opened this issue Jun 7, 2024 · 2 comments

Comments

@anungbisa4
Copy link

NextUI Version

2.4.0

Describe the bug

https://codesandbox.io/p/devbox/staging-firefly-zrszzv?file=%2FApp.jsx

every default items is like this
const data = [
{ value: "1", label: "1" },
{ value: "2", label: "2" },
];
or numbers always cannot be selected

but if
const data = [
{ value: "1", label: "1 test" },
{ value: "2", label: "2 test" },
]; that is correct and appropriate

That's very weird and should work for all the cases above

Your Example Website or App

https://codesandbox.io/p/devbox/staging-firefly-zrszzv?file=%2FApp.jsx

Steps to Reproduce the Bug or Issue

goto autocomplete component
select item
nothing happened

Expected behavior

should work for all the cases above and should be selected

Screenshots or Videos

No response

Operating System Version

mac os

Browser

Chrome

Copy link

linear bot commented Jun 7, 2024

@anungbisa4 anungbisa4 changed the title [BUG] - Cannoct Change Value after select item in Autocomplete [BUG] - Cannot Change Value after select item in Autocomplete Jun 7, 2024
@srivatsa17
Copy link

This is duplicate of #2955

@wingkwong wingkwong closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants