Skip to content

dcc.dropdown options order not consistent during search #2989

@BellLongworth

Description

@BellLongworth

dash 2.18.0
dash-bootstrap-components 1.6.0
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-table 5.0.0

Chrome, Windows

Describe the bug

For this dcc.Dropdown:
dcc.Dropdown(options=['1', '11 Text', '12', '110', '111', '112'])

The desired order is as set in options. When nothing is typed in search I see as expected:
image

Once I start searching for 11, the order changes and no longer matches the desired order:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogbugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions