Skip to content

[EuiComboBox] Options list doesn't show when singleSelection and onCreateOption are set #3701

Closed

Description

@yuliacech

Hi team,

I noticed an issue with the combo box options list not being shown when the user clicks inside the input field. The list will show eventually when the user starts typing the value in the input or if they click the "arrow down" icon on the right. I think that only happens when both props are set: singleSelection={{ asPlainText: true }} and onCreateOption.
Here is a minimal reproducible example: https://codesandbox.io/s/combobox-example-7bw9r?file=/index.js:442-481

Expected behaviour: the options list is shown when the user clicks inside the input field without having to type in any value. The same it works with singleSelection={false}

Here are 2 gifs to demonstrate:
options_list
options_list_bug

Activity

  1. self-assigned this
    on Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions