Skip to content

USelectMenu: selected items show value instead of label when using custom search/filter logic #5356

@pbartyla

Description

@pbartyla

Environment

  • Operating system: Ubutnu 24
  • Node: 22.15
  • Nuxt Version: 4.1.3

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.0.1

Reproduction

https://github.com/pbartyla/nuxt_select_menu_filter

Description

When using USelectMenu with a custom search/filter logic (ignore-filter + manually filtered items), the selected items lose their label reference and display the raw value (e.g., id) instead of the label (e.g., name) if the search term filters out the already selected items from the list.

Moreover, the USelectMenu component does not accept a prop to provide all available options. When using custom filtering, you need to manually maintain the full list of items—including filtered and selected ones—and implement the selection logic yourself. This adds extra complexity and makes it difficult to keep the selected labels in sync with the available options.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting 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