File tree 1 file changed +7
-2
lines changed
core/client/components/time
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 7
7
<KDate
8
8
v-model =" computedDateModel"
9
9
:picker =" computedDatePicker"
10
+ :format =" dateFormat"
11
+ :placeholder =" placeholder"
10
12
:icon =" icon"
13
+ :disabled =" disabled"
11
14
:dense =" dense"
12
15
:class =" { 'q-pl-xs': dense, 'q-pl-md': !dense, [dateClass]: true }"
13
16
/>
16
19
<!-- Time -->
17
20
<KTime
18
21
v-model =" computedTimeModel"
19
- :icon =" null"
20
22
:picker =" computedTimePicker"
23
+ :with-seconds =" withSeconds"
24
+ :format =" timeFormat"
25
+ :icon =" null"
21
26
:disabled =" disabled || dateTime === null"
22
27
:dense =" dense"
23
28
:class =" { 'q-pr-xs': dense, 'q-pr-md': !dense, [timeClass]: true }"
@@ -152,7 +157,7 @@ const computedDatePicker = computed(() => {
152
157
return _ .merge ({}, props .datePicker , picker)
153
158
})
154
159
const computedTimePicker = computed (() => {
155
- let picker = { withSeconds : props . withSeconds }
160
+ let picker = {}
156
161
if (! _ .isEmpty (props .min ) || ! _ .isEmpty (props .max )) picker = { options: checkTime }
157
162
return _ .merge ({}, props .timePicker , picker)
158
163
})
You can’t perform that action at this time.
0 commit comments