You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If minDate or maxDate have a value of null keyboard navigation thought days is disabled.
To Reproduce
Steps to reproduce the behavior:
render:
<ReactDatePickerminDate={null}maxDate={null}/>
Expected behavior
Keyboard navigation should be enabled.
Desktop
Any OS or browser
Additional context
I ran into this issue because @types/react-datepicker defined type for minDate and maxDate as Date | null | undefined.
type for minTime and maxTime is Date | undefined.
I can make the edit on @types/react-datepicker, could you please confirm that the types for minDate and maxDate should be Date | undefined ?
The text was updated successfully, but these errors were encountered:
balajis-qb
pushed a commit
to qburst/react-datepicker-3
that referenced
this issue
May 31, 2024
Describe the bug
If minDate or maxDate have a value of
null
keyboard navigation thought days is disabled.To Reproduce
Steps to reproduce the behavior:
render:
Expected behavior
Keyboard navigation should be enabled.
Desktop
Any OS or browser
Additional context
I ran into this issue because @types/react-datepicker defined type for
minDate
andmaxDate
asDate | null | undefined
.type for
minTime
andmaxTime
isDate | undefined
.I can make the edit on @types/react-datepicker, could you please confirm that the types for
minDate
andmaxDate
should beDate | undefined
?The text was updated successfully, but these errors were encountered: