diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index fd645695e..07ce3ecc2 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -1735,7 +1735,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]; } }