Selectbox max options shown

Is it possible to set max number of options from list that will be shown once you select that box.
My list is very long and once I click input box it goes over whole screen and I can’t see the input and what I’m typing.

Hi @mict0,

I don’t think the Baseweb component library that we use currently has support for this.

I’ve filed an issue with them for clarification and to request support for the feature.

Feel free to open a github issue with Streamlit to track this request better!

1 Like

Got a speedy response from Baseweb on the issue. Looks like it’s possible using the maxDropdownHeight prop.

@mict0 please file an issue on Streamlit’s issue board if you’d like us to add support for this!