Declined
Last Updated: 20 Jan 2022 16:26 by ADMIN
improwise
Created on: 15 Jan 2022 16:18
Category: DatePicker
Type: Bug Report
0
DatePicker shows minvalue by default when bound to a nullable DateTime with value null

DateInput shows minvalue by default when bound to a nullable DateTime with value null. While this might not be a bug, in almost all cases, it would be much better to have the default value set to DateTime.Now rather than DateTime.Min which seem to be the case today. 

 

2 comments
ADMIN
Dimo
Posted on: 20 Jan 2022 16:26

Hello Patrik,

This can happen only if the component value is *not* nullable.

Regards,
Dimo
Progress Telerik

Learn about the important changes coming in UI for Blazor 3.0 in January 2022!
improwise
Posted on: 15 Jan 2022 16:26
Sorry, this should of course be DatePicker and not DateInput.