Hi,
I have been trying to run st.form
and st.form_submit_button
examples from the blog post.
form = st.form(key='my_form')
text_input = form.text_input(label='Enter some text')
submit_button = form.form_submit_button(label='Submit')
if submit_button:
st.write(f'hello {text_input}')
The result is the following error message:
" Missing Submit Button
This form has no submit button, which means that user interactions will never be sent to your Streamlit app."
Thanks for your help!