bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

Opening datepicker for the first time doesn't validate min/max range #162

Open webholics opened 8 years ago

webholics commented 8 years ago

If I set a min date in the options in the future and open the datepicker with initialValue null for the first time then I will just see the current month with all days disabled. Only after clicking to the next month once I get to the first month with an enabled day. This check however should be done already when I open the datepicker for the first time.

In my opinion this is clearly a bug.