hello guys.
I have small app with few text_input widget inside st.form.
I want submit data only when user click st.form_submit_button.
but now, if user enter key input on web, submit action progress without st.form_submit_button.
How can I control this issue?
who can teach me to disable âpress enter to submit formâ?
-------------- code example ----------------------
with st.form(âenter testâ, clear_on_submit=True):
input_text = st.text_input(âplease enter textâ)
submit = st.form_submit_button(âsubmitâ)
if submit:
st.write('print')