Error: Cannot read property 'length' of undefined
harryy2510 opened this issue · 1 comments
harryy2510 commented
Hi,
This error occurred after upgrading to latest version.
When I checked for the source of error, found this
if (settings.disableTimeRanges.length > 0) {
I think before checking the length should we check if disabledTimes is even defined? I was passing props from parent and it passed undefined to the timepicker
jonthornton commented
Closed by f78442f. Thanks for reporting this!