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] - Fully controlled Autocomplete component example does not work with latest component version #3454

Closed
drewdearing opened this issue Jul 12, 2024 · 2 comments · Fixed by #3464
Assignees
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working

Comments

@drewdearing
Copy link

NextUI Version

2.4.2

Describe the bug

Ran into an issue with clearing out values from an Autocomplete component using NextUI version 2.4.2.

Here's an example with the latest version of NextUI and Autocomplete component.

Forcing the version of autocomplete back to version 2.0.15 resolves the issue.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Install latest nextui
  2. copy/paste fully controlled example from https://nextui.org/docs/components/autocomplete#fully-controlled
  3. try to click clear button

Expected behavior

data gets properly cleared from autocomplete

Screenshots or Videos

Screen.Recording.2024-07-11.at.7.18.47.PM.mov

Operating System Version

macOS

Browser

Chrome

@drewdearing
Copy link
Author

confirmed last working version of the component package was 2.0.16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants