mistica-web icon indicating copy to clipboard operation
mistica-web copied to clipboard

Allow selecting chips with badges

Open jerome-gelmar-syzygy opened this issue 1 year ago • 3 comments

The current behavior of the Chip component is that it becomes non-selectable (relates to the color change of the chip) once a badge or an onClose action is set. However, there are scenarios where users might want to select a chip even if it has a badge.

For example, when using the badge as a filter, it would be useful to still allow chip selection.

This enhancement would provide more flexibility for users who want to use badges as filters while still allowing chip selection.

jerome-gelmar-syzygy avatar May 10 '24 09:05 jerome-gelmar-syzygy

hi @jerome-gelmar-syzygy, can you open a discussion here instead? https://github.com/Telefonica/mistica-design/discussions

Are you working for Telefonica? in which project are you using Mistica?

atabel avatar May 10 '24 12:05 atabel

Hi @jerome-gelmar-syzygy,

We've created a ticket to allow chip selection when they have a badge: https://jira.tid.es/browse/WEB-1880

aweell avatar May 23 '24 15:05 aweell

Hi @aweell,

sry the topic has unfortunately gone under my radar. Thank you very much for creating a ticket.

jerome-gelmar-syzygy avatar May 23 '24 15:05 jerome-gelmar-syzygy

Merged in https://github.com/Telefonica/mistica-web/pull/1134

marcoskolodny avatar Jun 04 '24 15:06 marcoskolodny