nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.62k stars 1.42k forks source link

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

Closed sabvente closed 2 months ago

sabvente commented 2 months ago

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

Screenshots or Videos

No response

Operating System Version

Windows

Browser

Chrome

linear[bot] commented 2 months ago

ENG-1132 [BUG] - Autocomplete clear button doesn't work (controlled)

drewdearing commented 2 months ago

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

sabvente commented 2 months ago

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

wingkwong commented 2 months ago

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