mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
fix: #6106, DatePicker: cannot type an end date that is the same as the start date
This commit is contained in:
parent
cbc6186936
commit
81a6b78692
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue