Hello,
My first post here so hope I can explain what I’m looking to accomplish and get some feedback.
I have a web app that allows a user to type in a SQL query (using st.form in one column) and get results from the corresponding database (in another column). It works fine but I would like to have the query statements already displayed and just click the submit button with the results. I tried inserting st.text() in and around the st.form code but just displays it outside the text input area. Is this possible?
with col1:
            with st.form(key='query_form'):
                raw_code = st.text_area("SQL Code Here")
                submit_code = st.form_submit_button("Execute")

Thanks for any help!