ui icon indicating copy to clipboard operation
ui copied to clipboard

USelectMenu: set unwanted value on close when `searchable` prop is enabled.

Open emavitta opened this issue 1 year ago • 3 comments

Environment

Version

v2.17

Reproduction

https://stackblitz.com/edit/nuxt-starter-6pitx9?file=package.json

Description

When searchable is enabled, if i open the select and then close it without choosing anything, it sets the first value as selected. It may not be the intended behaviour, if it's not, i'd like to look into it.

Additional context

No response

Logs

No response

emavitta avatar Jun 28 '24 07:06 emavitta

The bug can be reproduced on the components page. Here's a GIF for reference.

select-menu bug

P-MikhalevID avatar Jul 03 '24 11:07 P-MikhalevID

Have you solved it yet?

zhangZYBX avatar Jul 24 '24 08:07 zhangZYBX

Have you worked in this issue? @emavitta @zhangZYBX

al1maher avatar Sep 25 '24 11:09 al1maher

duplicate https://github.com/nuxt/ui/issues/1708

rdjanuar avatar Nov 08 '24 10:11 rdjanuar