Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Edge] SelectMenu: returns no results when using lazy search with custom #option slot #1966

Closed
valh1996 opened this issue Jul 16, 2024 · 1 comment · May be fixed by SamandarTemirxodjayev/goshtbor#28 or SamandarTemirxodjayev/goshtbor#29
Labels
bug Something isn't working

Comments

@valh1996
Copy link

Environment

  • Operating System: Darwin
  • Node Version: v20.10.0
  • Nuxt Version: 3.12.2
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.6
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, vite, routeRules, app, css, imports, runtimeConfig, modules, auth, i18n, colorMode, ui
  • Runtime Modules: @nuxtjs/[email protected], @sidebase/[email protected], @vueuse/[email protected]
  • Build Modules: -

Version

@nuxt/ui-edge@latest

Reproduction

https://stackblitz.com/edit/nuxt-ui-1un97h?file=app.vue

Description

The latest official version 2.17.0 works correctly. However, the edge version has a bug with the SelectMenu in lazy search mode.

Indeed, if I use option-attribute it works, but if I use the #option slot no results are displayed even though they are returned by my lazy search as demonstrated in the reproduction.

Additional context

No response

Logs

No response

@valh1996 valh1996 added the bug Something isn't working label Jul 16, 2024
@valh1996 valh1996 changed the title [Bug][Edge] SelectMenu returns no results when using lazy search with custom #option slot [Edge] SelectMenu: returns no results when using lazy search with custom #option slot Jul 16, 2024
Copy link
Member

Thanks a lot for reporting this! 😊 The filtering was done twice even when an async search was provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants