Preserve Filtered List When Reopening Autocomplete #4855
okoyannayaTanya
started this conversation in
Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, when typing in the autocomplete input, a filtered list of suggestions is displayed. However, after closing the popup (e.g., by clicking outside the component), the list is reset, and a new search starts when reopening the popup. With a repeated opening, the list does not take into account the already entered data in input.

Requirements:
Preserve the filtered list of suggestions when the popup is closed.
When reopening the popup, display the last filtered list without re-triggering the search.
Ensure that a new search is only initiated when the input value changes.
Technologies: React 18+ & @heroui/react 2.6.14
Beta Was this translation helpful? Give feedback.
All reactions