We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Cannot read property 'classList' of undefined AND Cannot read property 'getFullYear' of null

Hello,

I replied to a dead thread, but I don't know if that will get looked at. I've come across two errors from syncfusion using the datepicker. I've produced the errors in a stackblitz here.

Information on how to reproduce the errors are explained in the stackblitz.
https://stackblitz.com/edit/angular-3pav9e-vw2rf5

I am trying to accomplish two features - 
  • toggleable min/max dates 
  • showTodayButton = false
If there's a way to get those features without getting the errors described in the console, that would be great.

1 Reply

AB Ashokkumar Balasubramanian Syncfusion Team April 4, 2019 01:50 PM UTC

Hi Altan, 
 
Sorry for the inconvenience. 
We were able to reproduce the reported issue “Cannot read property 'getFullYear' of null while assigning min value as null and Cannot read property 'classList' of undefined” while pass the min value if showTodayButton as false were confirmed as a bug at our end. This fix will be included in our upcoming patch release scheduled on 16th April 2019. We appreciate your patience until then. Please find the feedback link below. 
 
Regards, 
Ashokkumar B. 


Loader.
Live Chat Icon For mobile
Up arrow icon