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] - Autocomplete clear button doesn't work (controlled) #3460

Closed
sabvente opened this issue Jul 12, 2024 · 4 comments
Closed

[BUG] - Autocomplete clear button doesn't work (controlled) #3460

sabvente opened this issue Jul 12, 2024 · 4 comments

Comments

@sabvente
Copy link

NextUI Version

2.4.2

Describe the bug

When using the component as controller, the clear button doesn't work.

Sample code from https://nextui.org/docs/components/autocomplete#fully-controlled

Your Example Website or App

https://stackblitz.com/edit/vitejs-vite-kpdcza?file=src%2FApp.jsx

Steps to Reproduce the Bug or Issue

  1. Open stackblitz
  2. Click on the Autocomplete component
  3. Select something
  4. Click the clear button

Expected behavior

  • The selection should be cleared.
  • The sample should work in the docs.

Screenshots or Videos

No response

Operating System Version

Windows

Browser

Chrome

Copy link

linear bot commented Jul 12, 2024

@drewdearing
Copy link

ran into the same problem #3454. Mitigate the issue until fix is done by downgrading the autocomplate component.

@sabvente
Copy link
Author

@drewdearing Thanks, then I'm closing this duplicate issue.

@wingkwong
Copy link
Member

Thanks. Let's track on 3454. I'm currently working on the fix.

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