Hi, I would like to have two st.selectbox on a page.
In the st.selectbox1 are several options.
After choosing one option in the st.selectbox1 should be the options for st.selectbox2 dynamically filtered.
I do NOT want to use a form / submitt button.
Options for st.selectbox1 are: ‘none’, a and b.
if st.selectbox1==‘none’, then st.selectbox2 - no options.
if st.selectbox1==a, then st.selectbox2 - red, white.
if st.selectbox1==b, then st.selectbox2 - black, yellow.
Is there any way, how to “dynamically” filter a selectbox options?