Skip to content

[combobox] Add data-active attribute for Combobox.Chip #4011

@DavidCodina

Description

@DavidCodina

Feature request

For the multiple select Combobox implementation, pressing the back arrow from being inside the <input> causes the last Chip to be "active". Pressing the back arrow again causes the second-to-last Chip to be "active". This allows us to selectively delete a particular Chip by pressing the delete key. However, there doesn't seem to be any associated data attribute that would allow someone to conditionally style the Chip.

I'm requesting that something like data-active be added to a Chip when it's currently "active". This would allow us to create focus-like styles in the UI.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: comboboxChanges related to the combobox component.support: questionCommunity support but can be turned into an improvement.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions