Skip to content

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

Closed
@zentek-cintia-dewi

Description

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

Metadata

Assignees

Labels

C: VDatePickerT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions