Hi!
Right now I have multiple streamlit checkboxes in the sidebar like this:
myFirstCheckbox = st.sidebar.checkbox("Original Text 1")
mySecondCheckbox = st.sidebar.checkbox("Original Text 2")
myThirdCheckbox = st.sidebar.checkbox("Original Text 3")
I also have a text input box in the main section:
youtubeLink = st.text_input('Youtube Link:')
I was wondering if it was possible to programmatically change the text of the checkboxes after someone enters stuff into the text input box?
I wrote this code but it doesn’t change the text of the original checkbox, it just adds new checkboxes to the bottom of the sidebar:
if youtubeLink:
myFirstCheckbox = st.sidebar.checkbox("Next Text 1")
mySecondCheckbox = st.sidebar.checkbox("Next Text 2")
myThirdCheckbox = st.sidebar.checkbox("Next Text 3")