I want to use the session_state’s texts to the text_area, but text_area’s texts don’t change once in two.
- Run the below code.
- Write some texts in the text_area and Focus out
- Repeat No.2
if 'test' not in st.session_state: st.session_state.test = "" st.session_state.test = st.text_area("contents", st.session_state.test)
I want to get correct texts when the text_area’s texts change every time.