vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.10.3] VSelect / VAutocomplete default modelValue is null instead of undefined, causing unintended selection of null-valued item

Open
#22,126 2 comments 0 reactions 1 assignee View on GitHub

@KaelWD is already working on this.

Since Sep 29, 2025.

C: VSelect T: bug
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.10.3
Vue Version: 3.5.22
OS: macOS 10.15.7 (current)

Steps to reproduce
  1. Add VSelect or VAutocomplete options with a null value - observe that even when the actual model is undefined then the null option is selected
Expected Behavior

Expecting that when a model value that is passed is not set (undefined) and we have an option with null value that option to not be selected

Actual Behavior

once we have an option with null value then if we do not set the value explicitly to something different that null then the null option is selected by default

Reproduction Link

https://play.vuetifyjs.com/#...

Images

https://cdn.cosmicjs.com/2bcaa270-9bc8-11f0-bba7-d56988718db7-no-null-value-item.png

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.