Merge pull request #6107 from qburst/master

fix: #6106, DatePicker: cannot type an end date that is the same as the start date
pull/6161/head
Tuğçe Küçükoğlu 2024-08-01 11:04:16 +03:00 committed by GitHub
commit 7a739a1eb3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1735,7 +1735,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];
} }
} }