-
Notifications
You must be signed in to change notification settings - Fork 35
Description
I'm trying to integrate this Searchbox into my Streamlit application, and the initial tests look great.
My app is a multi-page app, and this lets users switch between pages at any moment.
This is when the problem arises: if I load the app as a first thing, I go into the search box page, I can use it without issues, but then, if I switch to another page and then I go back into the page with the searchbox, the widget:
- still has a returned value
- still has options in the dropdown
- no text into the search field is visible
This is how it looks when I go back to the searchbox after the page switch ("436217" is the returned value and as you can see there are the options visible with NO text into the search field is visible)
Do you know how to fix it, or, anyway, force a total reset after each page load?
NB: the fact that the widget keeps some sort of state is also not an issue but the other default widgets do NOT, so this can confuse the user that sees some information maintained and others not
