How to overwrite sidebar

How can I overwrite sidebar with radio-buttons, when user pick one of them? I mean change list of radio-buttons in side bar, when one of them was pressed. Thank you!

1 Like

Hi @Max_Makela, welcome to the Streamlit community.

Do you mean you have radiio button 1 with say 2 options A & B, and radiio button 2 with 2 different options, C & D. If the user selects A, you want to not display radio button 2?


1 Like

@ddutt Yes! That’s right!