Skip to content

USelect: Add badge support #5949

@caiotarifa

Description

@caiotarifa

Package

v4.x

Description

The USelect component currently supports icon, avatar, and chip, but not badge.

What about adding badge support similar to the existing options?

Example:

<USelect
  :items="[
    { label: 'Inbox', value: 'inbox', badge: '5' },
    { label: 'Drafts', value: 'drafts', badge: '2' }
  ]"
/>
Image

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageAwaiting initial review and prioritizationv4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions