Dynamic options update for dropdown

Hello everyone,

Streamlit has been extremely helpful in deploying prototypes! I am currently working on an app that needs a dropdown with about 20k options. I don’t need all options to be rendered from the beginning and it is making the app too slow to the point of being unusable. Is it possible to delay filling up the options until the user has started to type and dynamically update the options?

I would be the exact functionality as the dynamic options example from this dash tutorial (https://dash.plotly.com/dash-core-components/dropdown)

Hey @Ashir_Borah, welcome to the community :slight_smile:

There is a related Pull request ongoing to limit the number of showed options while still displaying the options filtered by your user search. This should make the dropdown more responsive, is this relevant to your case ?

Fanilo