Fixed #1716 - Calendar in timeonly mode ignores minDate, maxDate
parent
e620db8a71
commit
5dc41eb790
|
@ -1178,12 +1178,10 @@ export default {
|
|||
}
|
||||
return hours;
|
||||
},
|
||||
validateTime(hour, minute, second, pm) {
|
||||
let value = this.modelValue;
|
||||
validateTime(hour, minute, second, pm) {
|
||||
let value = this.isComparable() ? this.modelValue : this.viewDate;
|
||||
const convertedHour = this.convertTo24Hour(hour, pm);
|
||||
if (!this.isComparable()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (this.isRangeSelection()) {
|
||||
value = this.modelValue[1] || this.modelValue[0];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue