Skip to content

Commit

Permalink
Correct the variable name as per the issue #907 (#908)
Browse files Browse the repository at this point in the history
Co-authored-by: snehankekre <[email protected]>
  • Loading branch information
gireeshp and snehankekre authored Jan 4, 2024
1 parent 20ca52e commit 02ab8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/kb/using-streamlit/batch-elements-widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ submit_button = form.form_submit_button(label='Submit')
```python
# st.form_submit_button returns True upon form submit
if submit_button:
st.write(f'hello {name}')
st.write(f'hello {text_input}')
```

Forms can appear anywhere in your app (sidebar, columns etc), but there are
Expand Down

0 comments on commit 02ab8ba

Please sign in to comment.