I donât have access to your data, so Iâve subbed in a short list. This snippet does not throw an error for me on Streamlit 1.14.0. If you get a missing button message, then there is some other context within your code thatâs relevant or Iâm misunderstanding your code spacing since itâs not in a code block. Note you had a typo in your original post âlaberlâ instead of âlabelâ and also, your widgets should be throwing a âDuplicateWidgetIDâ error, so hereâs the keys to pre-emptively fix that.
with st.sidebar.form(key='my_form',clear_on_submit=False):
parameter1=st.selectbox('Select a parameter',[1,2,3,4], key='p1')
parameter1size=st.number_input(label='Greater than', value=1000, key='p1_size')
parameter2=st.selectbox('Select a parameter',[1,2,3,4], key='p2')
parameter2size=st.number_input(label='Greater than', value=1000, key='p2_size')
parameter3=st.selectbox('Select a parameter',[1,2,3,4], key='p3')
parameter3size=st.number_input(label='Greater than',value=1000, key='p3_size')
sector=st.selectbox(label='Sector',options=[1,2,3,4])
pressed = st.form_submit_button('Submit')