Streamlit widget dependency

If you implement the session state or url get/set query parameters, you can maintain a “button pushed” flag which will allow you to persist the button pushed state across runs.

1 Like