vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.12.5] [Bug Report][3.12.5] VDateInput fires @update:model-value twice (pick + stale blur duplicate)

Open
#22,808 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VDateInput S: triage
Dominant language
TypeScript
Stars
41k
Forks
7.1k
Avg merge
1d 21h
Merged PRs (30d)
11

Description

Environment

Vuetify Version: 3.12.5
Vue Version: 3.4.21
OS: macOS 10.15.7 (current)

Steps to reproduce
  1. Render the component above.
  2. Click the field, pick a date from the picker.
  3. Observe the emits array.
Expected Behavior

@update:model-value fires exactly once per user interaction, carrying the selected value.

Actual Behavior

@update:model-value fires twice in rapid succession:

  1. First emit: the selected date (correct).
  2. Second emit (a few ms later, triggered on implicit blur as the picker
    closes): a stale value — sometimes null, sometimes the previous
    value.

If the handler has a side effect (e.g., persisting to a backend), the
second emit overwrites the first save with the stale value. The visible
bug is "the date reverts/clears moments after picking".

Reproduction Link

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

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.

Research direction

Start with the linked reproduction and the VDateInput component entry point, then trace the date-picker selection followed by the implicit blur when the picker closes. Confirm the duplicate emissions and identify the stale second value. Done means each user interaction emits the selected value exactly once without reverting or clearing it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.