gagan3012 / streamlit-tags

Custom Tag component for streamlit
https://streamlit-tags.readthedocs.io/en/latest/
MIT License
303 stars 19 forks source link

Partial suggestion matching #37

Open CHerSun opened 2 years ago

CHerSun commented 2 years ago

Is your feature request related to a problem? Please describe. Tags are usually simple, but even with tags - if you have many of those - ppl start using duplicates because they don't know exact name.

Describe the solution you'd like Current implementation of suggestions is based on matching from the start of tag text. Is it possible to also support partial matches (not from the start, but anywhere actually). Maybe as a 2nd-priority suggestions,

Let's say there's a tag called "docker-compose". It would be great if user could find it by typing "compose", not only "docker-c".

Describe alternatives you've considered

Additional context