arfedulov / semantic-ui-calendar-react

Datepicker react component based on semantic-ui-react components
https://arfedulov.github.io/semantic-ui-calendar-react/
MIT License
260 stars 92 forks source link

maxDate keyboard error #231

Open silbulatovich opened 2 years ago

silbulatovich commented 2 years ago

Describe the bug The app crashes when you use a maxDate, today for example and input a future date with the keyboard.

Expected behavior 1- Set a maxDate 2- input a date outside the maxDate range 3- pick the year to choose another date

Error "selectable[0] is undefined"

Screenshots image

zheyujie commented 2 years ago

I have fixed this issue in my fork and published it as a new package since the author no longer maintains this repo. https://github.com/zheyujie/semantic-ui-calendar-react