Skip to content

[EuiComboBox] Allow rendering icon for the chosen option Β #5628

@mbondyra

Description

@mbondyra

This is the use case we have for Lens. We generate the Icon list, but the selected Item doesn't show the preview of the icon.

Screenshot 2022-02-11 at 09 48 54

Could we somehow enable it, either by adding a custom renderSelectedOption prop or specifically passing icon inside selectedOptions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions