fix: #6106, DatePicker: cannot type an end date that is the same as the start date

pull/6107/head
ANTONA09 2024-07-25 11:55:34 +05:30
parent cbc6186936
commit 81a6b78692
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];
}
}