Hey, I’m pretty knew to using streamlit and i’m trying to generate a loop of columns with multiselect tool, but they end going to a lower line, as shown:
labels = [‘label1’, ‘label2’, ‘label3’, ‘label4’, ‘label5’]
for i in labels:
cols = st.columns(len(labels))
cols[labels.index(i)].multiselect(f"""{i}""", [‘Green’, ‘Yellow’, ‘Red’, ‘Blue’])
Searched for few solutions, but couldn’t get anything conclusive.
