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

[Bug Report][3.3.9] v-date-picker emits update:modelValue twice when selecting a date #17872

Closed
mikestu opened this issue Jul 25, 2023 · 0 comments · Fixed by #17914
Closed
Assignees
Labels
C: VDatePicker VDatePicker T: bug Functionality that does not work as intended/expected
Milestone

Comments

@mikestu
Copy link

mikestu commented Jul 25, 2023

Environment

Vuetify Version: 3.3.9
Vue Version: 3.3.4
Browsers: Chrome 114.0.0.0
OS: Windows 10

Steps to reproduce

Set v-model on a v-date-picker instance, select a date, then in the Vue devtools, you can see two update:modelValue events being emitted. In the reproduction link, open the console, select a date, and see two lines output.

Expected Behavior

A single update:modelValue event should be emitted.

Actual Behavior

Two update:modelValue events are emitted.

Reproduction Link

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

@nekosaur nekosaur added T: bug Functionality that does not work as intended/expected C: VDatePicker VDatePicker and removed S: triage labels Jul 29, 2023
@nekosaur nekosaur self-assigned this Jul 29, 2023
@johnleider johnleider added this to the v3.3.x milestone Jul 31, 2023
johnleider added a commit that referenced this issue Aug 8, 2023
fixes #17867 
fixes #17872

Co-authored-by: John Leider <john@vuetifyjs.com>
prashantsinghb pushed a commit to prashantsinghb/vuetify that referenced this issue Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDatePicker VDatePicker T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants