Streamlit_option_menu: disable options based on st.session_data values

Hello!

I know this question does not have a straight-forward answer and probably requires some hacking around, but do people reckon it might be feasible to have option_menu only show some options / disable some options if some other steps are not marked as done yet?

For instance, I might have a situation where I want to first import a dataset and then show a certain plot, in two different “pages” (as meant in option_menu).

Would it be possible to hide the plot bit from the menu until the dataset is marked as uploaded?

Any suggestions welcome :slight_smile:

Thanks!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.