<TelerikDatePicker Id="startDate" @bind-Value="@StartDate" Width="160px" Format="dd-MMM-yy"></TelerikDatePicker>
DateTime StartDate=DateTime.Now
When our users type to click on the year and type another one they lose one of the digits - so if they try typing 19 or 18 for instance then it sets the date to year 01
Hello Lance,
I am happy to read that the 4-digit year format solved the issue for your customers for the time being.
Regards,
Svetoslav Dimitrov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
It needs to have more than that enhancement to solve it although that sounds like an additional consideration.
If I have a value of 2021 in the variable it will show 21, if I change it to 20 then I don't want it to go to 1902 for sure, and 2002 wouldn't be much better if you implemented the enhancement.
What it actually needs is to remember and display what you typed and use that for the data in the date variable somehow as the first starting point. Then we can worry about what century it is using logic like in that enhancement.
But thanks I do now finally understand there is a workaround and have put in 4 digit years to solve the problem for now for my users
Hello,
While this is still pending detailed investigation (there are many, many factors that contribute to how items are prioritized), I must say that I feel it is likely that the solution for it would actually be the implementation of this enhancement: https://feedback.telerik.com/blazor/1482911-cutoff-year-to-allow-two-digit-year-formats.
Regards,
Marin Bratanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
This bug is really bothering my users as well!
Please make sure it gets fixed for the next release!
Regards,
René
Hello Lance,
Thank you for the detailed reproduction steps, I was able to reproduce it. As a small token of appreciation, I have updated your Telerik Points.
I have updated the status of this thread to Unplanned since this is a valid bug report.
Regards,
Svetoslav Dimitrov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
It's extremely easy to replicate, anytime and every time anyone tries it.
Reproduction steps exactly as follows
Click on the year portion of the date
Type in a new year value
Do something to make it lose focus (tab or click elsewhere)
boom the year changes itself from what you typed to something else
e.g.
click and type in 15 (which shows 15 in the 2 digits), lose focus => ends up with 01
click and type in 55 (which shows 55 in the 2 digits), lose focus => ends up with 05
click and type in 19 (which shows 19 in the 2 digits), lose focus => ends up with 01
click and type in 2010 (which only shows 10 in the 2 digits), lose focus => ends up with 02
Hello Lance,
Could you share some more information with us so that we can properly investigate the issue? When do you lose some digits from the year portion - when typing quickly after the initial load of the application or on more occasions during the application? Also, a video of the behavior would be appreciated so that we are on the same page of reproduction steps and testing scenarios.
I am asking because if you type quickly after the application initializes it will seemingly reset the value and that is due to the pre-rendering of the Server Side Blazor hosting model.
I am looking forward to your feedback.
Regards,
Svetoslav Dimitrov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.