diff --git a/packages/primevue/src/datepicker/DatePicker.vue b/packages/primevue/src/datepicker/DatePicker.vue index e45f3f2837..b6e0fc26e2 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) {