salim-lachdhaf / searchable_dropdown

Simple and robust Dropdown with item search feature, making it possible to use an offline item list or filtering URL for easy customization.
MIT License
325 stars 316 forks source link

Option to make SearchBox and DropdownSearch the same Widget #535

Open LuisEduardoSG opened 1 year ago

LuisEduardoSG commented 1 year ago

Is your feature request related to a problem? Please describe. No, it isn't. But as of today, 01/23/2023, search box is a textfield inside of the dropdown's items list. In which, require of the user to make a second tap in order to start filtering/searching through items

Describe the solution you'd like It could mean time saving and a more common approach on Mode.MENU of DropdownSearch, if the same field used to show the selected item, could be used to type and search/filter all items. Maybe the image below help. Basically a typeable dropdown, which when focused user can either type to find a specific option or scroll to it. image

Describe alternatives you've considered Set focus on searchbox right when items list is opened. But it just didn't seemed right.

salim-lachdhaf commented 1 year ago

i'm still working time to time on this, for now the problem is when the dropdown request focus the menu get dismissed

ronytesler commented 11 months ago

I'd also like to have that

Arjun-Mahadev commented 8 months ago

Hey @salim-lachdhaf any update on this?

steve3p0 commented 2 months ago

This would be nice.