[Bug Report][3.12.5] [Bug Report][3.12.5] VDateInput fires @update:model-value twice (pick + stale blur duplicate)
Nobody has claimed this yet.
- 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
- Render the component above.
- Click the field, pick a date from the picker.
- Observe the
emitsarray.
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:
- First emit: the selected date (correct).
- Second emit (a few ms later, triggered on implicit blur as the picker
closes): a stale value — sometimesnull, 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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