I found some problems when I tried to use a
text_input inside a
This is an example:
import streamlit as st header = st.header('Text_input APP') button1 = st.button('Click here') if button1: text = st.text_input('Write some texte', value=' ') st.write('Text: ', text)
When I click on the
button1 the text_input box appears and I write some text. However, when I press Enter to display what I wrote, the “window” closes and it goes to the app’s initial page.
Is there any way to solve this problem?