diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index e45f3f283..b6e0fc26e 100755 --- a/packages/primevue/src/datepicker/DatePicker.vue +++ b/packages/primevue/src/datepicker/DatePicker.vue @@ -746,7 +746,7 @@ export default { return start === year || end === year || (start < year && end > year); } else { - return value.getFullYear() === year; + return this.modelValue.getFullYear() === year; } }, isDateEquals(value, dateMeta) {