I am using Python 3.11 with Streamlit 1.28.0:
import streamlit as st
print("before")
if st.button("Refresh"):
st.rerun()
print("after")
After pressing the button to re-run the page, the st.button never resets.
What am I doing wrong here?
I am using Python 3.11 with Streamlit 1.28.0:
import streamlit as st
print("before")
if st.button("Refresh"):
st.rerun()
print("after")
After pressing the button to re-run the page, the st.button never resets.
What am I doing wrong here?
Hi @jamesbraza ,
We recently published a patch that should fix it. Please upgrade to 1.28.1.
Thanks,
Happy streamlitting!
William
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.