options = [1,2,3]
selected = st.multiselect('Choose:', options)
if selected == []:
selected = options
st.write(selected)
Or you can get fancier if you want: 'Select All' on a Streamlit Multiselect - #2 by Marisa_Smith
options = [1,2,3]
selected = st.multiselect('Choose:', options)
if selected == []:
selected = options
st.write(selected)
Or you can get fancier if you want: 'Select All' on a Streamlit Multiselect - #2 by Marisa_Smith