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"