themesberg / flowbite-svelte

Official Svelte components built for Flowbite and Tailwind CSS
https://flowbite-svelte.com
MIT License
2.25k stars 274 forks source link

[New Feature] Autocomplete/Combobox #1102

Open lltr opened 1 year ago

lltr commented 1 year ago

Summary

A select input that allows typing, or searching of select items on input. As well as async select, to load the items only on dropdown/input change.

Basic example

Examples are like MUI Autocomplete component, Svelte Skeleton Autocomplete

Motivation

Currently if there's too many items in a Select list, it is difficult to find the item. Typing the value to narrow down the Select would help with that.

shinokada commented 1 year ago

You can use TableSearch.

iwarsam commented 1 year ago

Will be great to have this function natively!

shinokada commented 9 months ago

Since there is no component in flowbite.com, this will be a community effort and will be under EXTEND menu.

SumitBando commented 7 months ago

This feature request is implemented as [Dropdown with Search] https://github.com/themesberg/flowbite-svelte/blob/main/src/routes/docs/components/dropdown.md#dropdown-with-search

jippi commented 2 months ago

Dropdown with Search is quite a different look'n'feel from the MultiSelect though, both in behavior within forms and data binding for whats selected options - they do not feel or behave the same