fix: allow to type the end date equal to the start date

pull/6082/head
KumJungMin 2024-07-18 22:44:40 +09:00
parent 6bca2a8b46
commit a36d5ca25b
1 changed files with 1 additions and 1 deletions

View File

@ -1731,7 +1731,7 @@ export default {
}
} else if (value.every((v) => this.isSelectable(v.getDate(), v.getMonth(), v.getFullYear(), false))) {
if (this.isRangeSelection()) {
isValid = value.length > 1 && value[1] > value[0] ? true : false;
isValid = value.length > 1 && value[1] >= value[0];
}
}