Commit 79ac2457fde182867a27522a1a1ae437bf5643b1
1 parent
b42322fe
Allow DatePicker to receive TimePicker options
Showing
4 changed files
with
12 additions
and
0 deletions
Show diff stats
src/components/date-picker/panel/Date/date-panel-mixin.js
src/components/date-picker/panel/Date/date-range.vue
src/components/date-picker/panel/Date/date.vue
src/components/date-picker/picker.vue
... | ... | @@ -48,6 +48,8 @@ |
48 | 48 | :show-week-numbers="showWeekNumbers" |
49 | 49 | :picker-type="type" |
50 | 50 | |
51 | + :time-picker-options="timePickerOptions" | |
52 | + | |
51 | 53 | v-bind="ownPickerProps" |
52 | 54 | |
53 | 55 | @on-pick="onPick" |
... | ... | @@ -113,6 +115,10 @@ |
113 | 115 | type: Boolean, |
114 | 116 | default: false |
115 | 117 | }, |
118 | + timePickerOptions: { | |
119 | + default: () => ({}), | |
120 | + type: Object, | |
121 | + }, | |
116 | 122 | splitPanels: { |
117 | 123 | type: Boolean, |
118 | 124 | default: false | ... | ... |