Hello,
I had a multiselect menu with some default values. After I interact with it (by selecting other options from the menu) I wanted to have a reset button that can return multiselect menu to its default options.
Any ideas?
Regards
Sa’di
Hello,
I had a multiselect menu with some default values. After I interact with it (by selecting other options from the menu) I wanted to have a reset button that can return multiselect menu to its default options.
Any ideas?
Regards
Sa’di
I did the same thing with several st.sidebar.multiselect, guess you can try this out by using session state: an example here is Reseting the app via a button (if you are using latest versio of streamlit, please use this gist: https://gist.github.com/tvst/036da038ab3e999a64497f42de966a92)
Great! Thanks for your help. That solved my issue.