Dropdown and text input - double functionality

Hi,

Is there a component that is at the same time a dropdown and also enables random text input? I haven’t been able to find it but maybe something similar exists.

Use-case: Plot title definition. It can either be a random string or a value of a certain column in a dataset (column selectable by dropdown)

Hi,

Not sure but I think you could use dbc.Dropdownmenu, it accepts dash components as children.
https://dash-bootstrap-components.opensource.faculty.ai/docs/components/dropdown_menu/

You could also add drop down options on the fly:

Source:

1 Like

Thanks. Very cool.

1 Like