I have the same problem actually. Searching the forum I found the following workaround: Using st.session_state and key together
aseifert
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| del session_state of input_text? | 2 | 31 | April 29, 2026 | |
| Display content based on session_state variables | 2 | 151 | February 16, 2025 | |
| Issue with st.empty() | 3 | 2039 | August 12, 2021 | |
| St.stop and text_input | 4 | 1258 | January 17, 2024 | |
| Why does a session_state variable disappear? | 3 | 337 | December 23, 2024 |