We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v2.14.1
https://stackblitz.com/edit/nuxt-ui-4bk2ee
Using Select Menu with a default value of null or undefined is now broken. That's a common use-case for this type of field. It was broken with this recent commit: b9fe74b. The error seems to be coming from here: https://github.com/nuxt/ui/blame/dev/src/runtime/components/forms/SelectMenu.vue#L370. We might want to add a null check in there.
null
undefined
No response
The text was updated successfully, but these errors were encountered:
cbf94a7
You're absolutely right! Thanks for the report 🙂
Sorry, something went wrong.
fix(SelectMenu): check null model value
4b6e80e
Resolves #1421
Successfully merging a pull request may close this issue.
Environment
Version
v2.14.1
Reproduction
https://stackblitz.com/edit/nuxt-ui-4bk2ee
Description
Using Select Menu with a default value of
null
orundefined
is now broken. That's a common use-case for this type of field. It was broken with this recent commit: b9fe74b. The error seems to be coming from here: https://github.com/nuxt/ui/blame/dev/src/runtime/components/forms/SelectMenu.vue#L370. We might want to add a null check in there.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: