Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Multiselect with search for a lot of entries

$
0
0

I have a Sveltekit Project with Bootstrap (Sveltestrap) and I want to implement a search function for it.

I want to have an input field that allows the user to type in the wanted value and then like a multiselect be able to select multiple values (e.g. orange cat, black cat, red cat, ...). The problem is I have lots of data (like 30.000 entries) to check against the user entry so he cant enter something that doesnt exist in the data.

Something I found is this (https://github.com/janosh/svelte-multiselect) but the problem with this is that it is very hard to style it so it doesnt fit the page.

While writing this question I realized that something I am looking for is kinda the search bar that StackOverflow uses for the tags when writing a new question.

Does anybody have an idea or a direction I could look into to solve this problem?


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>