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

USelectMenu: can not open drop select when options have value null #3316

Closed
zzxming opened this issue Feb 14, 2025 · 0 comments
Closed

USelectMenu: can not open drop select when options have value null #3316

zzxming opened this issue Feb 14, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@zzxming
Copy link

zzxming commented Feb 14, 2025

Environment

  • Operating System: Windows_NT
  • Node Version: v22.12.0
  • Nuxt Version: 3.16.0
  • CLI Version: 3.23.0
  • Nitro Version: 2.11.6
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools, modules, css, future, compatibilityDate
  • Runtime Modules: @nuxt/[email protected], @nuxt/[email protected]
  • Build Modules: -

Version

v3.0.0

Reproduction

https://codesandbox.io/p/devbox/lingering-night-wl8j66

Description

When items have value null or undefined and click the select menu, app will throw an error.

Additional context

No response

Logs

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disabled')        SelectMenu.vue:379
    at SelectMenu.vue:379:35
    at renderList (runtime-core.esm-bundler.js:2904:16)
    at SelectMenu.vue:1:1
    at renderFnWithContext (runtime-core.esm-bundler.js:692:13)
    at renderSlot (runtime-core.esm-bundler.js:2981:53)
    at ComboboxGroup.vue:38:2
    at renderFnWithContext (runtime-core.esm-bundler.js:692:13)
    at renderSlot (runtime-core.esm-bundler.js:2981:53)
    at ListboxGroup.vue:21:34
    at renderFnWithContext (runtime-core.esm-bundler.js:692:13)
@zzxming zzxming added bug Something isn't working triage labels Feb 14, 2025
@zzxming zzxming closed this as completed Mar 15, 2025
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
Development

Successfully merging a pull request may close this issue.

2 participants