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.6.12] v-date-picker range resetting startdate when clicked in calendar #20168

Closed
zentek-cintia-dewi opened this issue Jul 15, 2024 · 0 comments · Fixed by #20169 · 4 remaining pull requests
Closed

[Bug Report][3.6.12] v-date-picker range resetting startdate when clicked in calendar #20168

zentek-cintia-dewi opened this issue Jul 15, 2024 · 0 comments · Fixed by #20169 · 4 remaining pull requests
Assignees
Labels
C: VDatePicker VDatePicker T: bug Functionality that does not work as intended/expected
Milestone

Comments

@zentek-cintia-dewi
Copy link
Contributor

Environment

Vuetify Version: 3.6.12
Vue Version: 3.4.31
Browsers: Chrome 126.0.0.0
OS: Mac OS 10.15.7

Steps to reproduce

click the button "Set xx.xx.xxx as first selected day" to set startdate value programmatically, and then click another date in calendar to select endDate.

Expected Behavior

After setting startdate programmatically, when user clicks on another date in the calendar, it should select the endDate.

Actual Behavior

After setting startdate programmatically, when user clicks on another date in the calendar to get endDate, the start date gets instead reset.

Reproduction Link

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

Other comments

issue is also discussed in the vuetify discord thread here:
https://discord.com/channels/340160225338195969/954061264865349652/1262348548830400552

zentek-cintia-dewi added a commit to zentek-cintia-dewi/vuetify that referenced this issue Jul 15, 2024
fix(VDatePickerMonth): range bug with programmatic startdate
resolves vuetifyjs#20168
zentek-cintia-dewi added a commit to zentek-cintia-dewi/vuetify that referenced this issue Jul 15, 2024
fix(VDatePickerMonth): range bug with programmatic startdate
resolves vuetifyjs#20168
zentek-cintia-dewi added a commit to zentek-cintia-dewi/vuetify that referenced this issue Jul 15, 2024
fix(VDatePickerMonth): range bug with programmatic startdate
resolves vuetifyjs#20168
zentek-cintia-dewi added a commit to zentek-cintia-dewi/vuetify that referenced this issue Jul 15, 2024
fix(VDatePickerMonth): range bug with programmatic startdate
resolves vuetifyjs#20168
@johnleider johnleider self-assigned this Jul 16, 2024
@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VDatePicker VDatePicker and removed S: triage labels Jul 16, 2024
@johnleider johnleider added this to the v3.6.x milestone Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment