🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Dropdown Reset after search

When I search in a dropdown and click a result, the value doesn’t pop up in the actual dropdown bar like it normally would.

For example, if I were to search “AAPL” the result I would want after clicking it would be this:
AAPL

However, what ends up happening is that the dropdown immediately reverts back to the placeholder text after I click a search option making it look like this:
generic dropdown

Please let me know how I can ensure the value doesn’t reset and correctly displays.

hi @KK1287 and welcome to the Community,

I don’t have this behaviour :thinking:

Here is my simple code:

                    dcc.Dropdown(
                        id='out-company', optionHeight=20, 
                        placeholder= 'Search by Company Name', 
                        )

And this is the Output:

Could you share your code?