Using Telerik Blazor 4.0.1. Previously on 3.5.0, there were no issues. The only other difference is .NET 7.0.
Create a blank Telerik Blazor Server project and use the attached index.razor. In the OnInitialized, there are two lines that set the DateTime. The first one works but the second one results in the TelerikDateInput field showing h:mm AM instead of 12:00 AM.
Am I doing something wrong? If so, what changed from 3.5 to experience this?
Thanks,
Chuck
Hey Dimo,
Thanks for the update. The way I store this value is simply hh:mm, so that's what I get back from my calls. I found that adding :01 to the end (for 1 second) also got the data to display properly.
Just glad to know at this point I wasn't doing something wrong.
Thanks,
Chuck
Hi Chuck,
Indeed, this looks like a regression. Please excuse us for the trouble.
I am converting your forum thread to a public bug report and we will try to address this with higher priority.
Probably, the problem is related to the revamped typing experience.
A possible workaround is to set the DateInput Value in OnAfterRenderAsync with a delay. I hope this is feasible in your case. Another options are to include the date in the format, or use another date and not today's. I agree these may not be acceptable in some scenarios.
Regards,
Dimo
Progress Telerik