Fixed #1716 - Calendar in timeonly mode ignores minDate, maxDate
parent
e620db8a71
commit
5dc41eb790
|
@ -1179,11 +1179,9 @@ export default {
|
|||
return hours;
|
||||
},
|
||||
validateTime(hour, minute, second, pm) {
|
||||
let value = this.modelValue;
|
||||
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