Hi @kalyan,
I’m not familiar with a way to do that but I would recommend digging through some of the multiselect-related forum posts and asking other members of the community if they have any ideas.
For example:
- Dynamic multiselect options tied to presence in a list/dataframe
- Filter dataframe by selections made in select box
- ‘Select All’ on a Streamlit Multiselect
- Multiselect widget is a little weird
I would also recommend reconsidering whether a single multiselect is the best option for a list of 50 elements. Can you group the options into a few categories and then provide users with a multiselect for each category?
Best,
Caroline