Hide or Collapse Widgets Upon Submit

Hi @pkbro!

Welcome to the Streamlit Community!!! :partying_face: :partying_face: :partying_face: :partying_face: :partying_face: :tada:

I think the best option for this would be to use the st.beta_expander() function. You can have it initiate as open and then once the user has selected all of the options they can close the expander without rerunning your script (and losing the users selections).

Checkout out community post here
Checkout the Documentation here

Happy Streamlit-ing!
Marisa

4 Likes