I’m using the st_btn_select
component, found here, to display a select menu.
However, the location of my component is below the area of the page I want to change.
Normally, I would use an on_click
argument to run a callback function in order to refresh the whole page with the newly-set st.session_state
, however, as this is a custom component, I don’t believe I have that option.
Is there a way to receive the value from the custom component, set a 'session_state
value, then have that session_state apply to the top of the page? Hypothetically, something like st.rerun()
.
EDIT: I found this elsewhere: st.experimental_rerun()