Skip to content

Commit

Permalink
fix(VDatePicker): programmatic start date with multiple range (#20169)
Browse files Browse the repository at this point in the history
fixes #20168
  • Loading branch information
zentek-cintia-dewi authored Jul 16, 2024
1 parent bd1f63d commit 1a0d9b7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ export const VDatePickerMonth = genericComponent<VDatePickerMonthSlots>()({

if (model.value.length === 0) {
rangeStart.value = undefined
} else if (model.value.length === 1) {
rangeStart.value = model.value[0]
rangeStop.value = undefined
}
if (!rangeStart.value) {
rangeStart.value = _value
Expand Down

0 comments on commit 1a0d9b7

Please sign in to comment.