Commit 9a7a0e7557b8698760109755d808a06d8fcd3ed7
1 parent
939a162a
take into account possible startDate in props
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/components/date-picker/picker.vue
| ... | ... | @@ -221,7 +221,7 @@ |
| 221 | 221 | selectionMode: this.onSelectionModeChange(this.type), |
| 222 | 222 | forceInputRerender: 1, |
| 223 | 223 | isFocused: false, |
| 224 | - focusedDate: initialValue[0] || new Date(), | |
| 224 | + focusedDate: initialValue[0] || this.startDate || new Date(), | |
| 225 | 225 | focusedTime: { |
| 226 | 226 | column: 0, // which column inside the picker |
| 227 | 227 | picker: 0, // which picker | ... | ... |