m-wrzr / streamlit-searchbox

Streamlit searchbox that dynamically updates and provides a list of suggestions based on a provided function
MIT License
253 stars 33 forks source link

Select a value programatically #75

Open bmaisonneuve opened 2 weeks ago

bmaisonneuve commented 2 weeks ago

Hello,

Thank you for the component, it works well.

I have a question, is it possible to select a value from the code ? My goal would be to set a default value on load to select a specific value in the searchbox. I need the user to see that a value is selected, if I use the default option, there is not value selected in the component.