How to make checkbox remember and restore last saved value (True/False) in Streamlit Multi-Pages?
My case is like below.
The checkbox starts as False. When a user clicks the checkbox, the value changes to True (or False if it’s clicked 2 times). Then the user goes to other pages. When the user came back, the value stood as True (or False if it’s clicked 2 times before the user went to other pages).
I have tried the solution given in Session state issue with st.checkbox - #2 by snehankekre but the default state of the checkbox is True (which is not what I wanted in the first place).