Skip to content

InputMenu Clear Search on Select at first click #3993

@Cyril30

Description

@Cyril30

Environment

Nuxt UI pro v 3.1.0

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.1.0

Reproduction

https://ui.nuxt.com/components/input-menu#control-search-term

Description

Hello,

I am reopening an issue based on #3782

I still have an issue on the InputMenu that filters with the default value.

As a reproduction : we can see the same behavior I am facing in the documentation : https://ui.nuxt.com/components/input-menu#control-search-term .

  1. => The first click on InputMenu shows only the seacherd term (here Backlog)
  2. => If I close the popover and reopen it a second time, it shows the entire list.

I tried the :reset-search-term-on-select="false" , it allows to display the entire list at 1st click but it leads to not showing the default selected value (the placeholder is displayed).

Actually, I am looking to display the entire list at first click, even if a value is already selected.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions