Hide "Button B" with "Button A", without clicking twice

Hi @dave-espinosa, there are 2 things you need to be clear about:

  1. How the button widget operates &
  2. Session states

So besides the Streamlit documentation, also have a look at this excellent tutorial (10 most common explanations on the Streamlit forum) by @mathcatsand.

Cheers

2 Likes