From c8e626c76d112352283632e98d14dccc72e5d2a7 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Mon, 23 Feb 2026 14:19:33 +0530 Subject: [PATCH] [WEB-6324] fix: year selection beyond current year shows incorrect dates#6004 --- packages/propel/src/calendar/root.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/propel/src/calendar/root.tsx b/packages/propel/src/calendar/root.tsx index 8440dcbb13..48d3ccf600 100644 --- a/packages/propel/src/calendar/root.tsx +++ b/packages/propel/src/calendar/root.tsx @@ -329,7 +329,13 @@ export function Calendar({ } // Omit props that would override controlled navigation/header behavior - const { month: _month, onMonthChange: _onMonthChange, components: _components, ...dayPickerProps } = props; + const { + month: _month, + onMonthChange: _onMonthChange, + components: _components, + captionLayout: _captionLayout, + ...dayPickerProps + } = props; return (