A selectbox that doubles as text_input

Hi, it’s frequently the case that the user would like a pre-canned list, but the option to enter anything custom (e.g. model paths). It would be great if the selectbox can be also used as text_input.

I know it’s possible to add both of them and add some backend logic, but I thought it would be cleaner this way.

Separate, but I think related, it’s currently not possible to copy and paste the text inside the selectbox. It would be great if we can!

Hi @tokestermw,

Thanks for the feature suggestions! I’ve added both of them to the Streamlit issue tracker. Cheers!

1 Like

There’s a component for this now! GitHub - gagan3012/streamlit-tags: Custom Tag component for streamlit