From 5e588461eea21f79da6fbca882be20d8114f7fa3 Mon Sep 17 00:00:00 2001 From: Dominik Schab Date: Tue, 17 Dec 2024 12:41:15 -0500 Subject: [PATCH] bring back show month dropdown --- src/DateTimePicker/DateTimePicker.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DateTimePicker/DateTimePicker.tsx b/src/DateTimePicker/DateTimePicker.tsx index 7c41f2a4..f324c3c2 100644 --- a/src/DateTimePicker/DateTimePicker.tsx +++ b/src/DateTimePicker/DateTimePicker.tsx @@ -205,6 +205,7 @@ function DateTimePicker({ popperClassName={isWithinModal ? 'react-datepicker__popper-container--modal' : ''} popperContainer={isWithinModal ? popperContainerDocumentBody : undefined} selected={dateFromString()} + showMonthDropdown={showMonthAndYearSelects} showTimeSelect={showTimeSelect} showYearDropdown={showMonthAndYearSelects} timeCaption="Time"