nextui-org / nextui

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

[Feature Request] Add a search option in select component. #3367

Open nayan1834 opened 2 months ago

nayan1834 commented 2 months ago

Is your feature request related to a problem? Please describe.

When dealing with a Select component that contains a large number of options (e.g., hundreds or thousands of items), it becomes challenging for users to find and select the desired option efficiently. Scrolling through a lengthy list is time-consuming and can lead to user frustration. Currently, the Select component lacks a built-in search or filter mechanism, which forces users to manually scroll through the entire list. This limitation significantly impacts user experience and efficiency, especially in applications where quick selection from large datasets is frequent.

Describe the solution you'd like

I propose adding a search/filter functionality to the Select component. This feature would include:

Describe alternatives you've considered

i am using some packages from npm also reactprime has a component named multiselect. Which is great.

Screenshots or Videos

No response

linear[bot] commented 2 months ago

ENG-1074 [Feature Request] Add a search option in select component.

nayan1834 commented 2 months ago

If possible can I take up thi issues?

Sure.

awesome-pro commented 1 month ago

@nayan1834 I think the autocomplete component can fulfil your need up to some extent. For the searching part, I need confirmation from the team. Then I can confirm you.