Skip to content

Commit

Permalink
bring back show month dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
domschab23 committed Dec 17, 2024
1 parent 64e803c commit 5e58846
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DateTimePicker/DateTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5e58846

Please sign in to comment.