[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/pypae/docs/main/python/api-examples-source/forms.form2.py [Back]  [Original]

import streamlit as st

form = st.form("my_form")
form.slider("Inside the form")
st.slider("Outside the form")

# Now add a submit button to the form:
form.form_submit_button("Submit")

Web Proxy Viewer  |  New URL  |  Original Page