Selecting Month from Month picker on 31st of any month throws error

Selecting a month from Month picker control throws error under below mentioned scenario.

Month picker is blank

and

Current date is on a day that does not existing on the month to be selected.

------------------

ex: Select February/April/June/September/November from Month picker on October 31st throws error.

------------------

This happens on the Syncfusion demo site as well

Blazor DatePicker Month Picker Example - Syncfusion Demos



3 Replies

UD UdhayaKumar Duraisamy Syncfusion Team November 1, 2022 07:34 PM UTC

Hi Dinesh,


We have validated the reported query on our end. Unfortunately, we couldn’t reproduce the reported issue as per your scenario. We also shared a sample and video illustration for reference. Also, we request you to provide additional details about the issue as mentioned below, This will help us validate the issue further and provide you with a better solution.


1. Issue replication steps.

2. Video illustration of the issue.

[Video illustration]


Sample  : https://www.syncfusion.com/downloads/support/directtrac/general/ze/SyncfusionBlazorApp152689426


Regards,

Udhaya Kumar D



DT Dinesh Thamby Ambookkan November 1, 2022 08:41 PM UTC

Hi Udhaya, 

I should have taken the screen recording yesterday. It happens only when using the month picker on 29, 30 or 31 of a month. I tried changing the system date manually, but Date Picker is still picking today as Nov 1st. Hence error is NOT happening. 


I saw the video you sent. While your testing, first 2 conditions are not followed among the following:

  1. You are trying on 1st of Nov, "Today" for date picker should be 31st of a month.
  2. Your date picker has a pre-selected value in it. Date picker should be blank before you start. Or you should clear it first.
  3. If trying on 31st of a month, you should select either of Feb/Apr/Jun/Sept/Nov (Months that do not have 31)
    1. if trying on 30th of a month, you should select Feb (Month that do not have 30)
    2. Similarly if on 29th of a month, you should select Feb of a non leap year (Month that do not have 29)
It will be good if you can figure this out. Else I will update the comments by the end of the month with screen recorded video. :) 

Thanks,
Dinesh T A


UD UdhayaKumar Duraisamy Syncfusion Team November 7, 2022 07:07 AM UTC

The reported issue “Console Error occurred when selecting Month that has 30 days and current Month has 31 days” is considered as a bug from our end and will be fixed in any one of our upcoming patch releases.


You can track the status of the issue by the below feedback link.

Feedback Link : https://www.syncfusion.com/feedback/38889


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Loader.
Up arrow icon