fix: #6106, DatePicker: cannot type an end date that is the same as the start date
parent
cbc6186936
commit
81a6b78692
|
@ -1731,7 +1731,7 @@ export default {
|
||||||
}
|
}
|
||||||
} else if (value.every((v) => this.isSelectable(v.getDate(), v.getMonth(), v.getFullYear(), false))) {
|
} else if (value.every((v) => this.isSelectable(v.getDate(), v.getMonth(), v.getFullYear(), false))) {
|
||||||
if (this.isRangeSelection()) {
|
if (this.isRangeSelection()) {
|
||||||
isValid = value.length > 1 && value[1] > value[0] ? true : false;
|
isValid = value.length > 1 && value[1] >= value[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue