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')