From 9a7a0e7557b8698760109755d808a06d8fcd3ed7 Mon Sep 17 00:00:00 2001 From: Sergio Crisostomo Date: Mon, 21 May 2018 08:26:28 +0200 Subject: [PATCH] take into account possible startDate in props --- src/components/date-picker/picker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/date-picker/picker.vue b/src/components/date-picker/picker.vue index 5be8c46..e4c92f5 100644 --- a/src/components/date-picker/picker.vue +++ b/src/components/date-picker/picker.vue @@ -221,7 +221,7 @@ selectionMode: this.onSelectionModeChange(this.type), forceInputRerender: 1, isFocused: false, - focusedDate: initialValue[0] || new Date(), + focusedDate: initialValue[0] || this.startDate || new Date(), focusedTime: { column: 0, // which column inside the picker picker: 0, // which picker -- libgit2 0.21.4