Duplicated
Last Updated: 16 May 2023 14:59 by ADMIN
John
Created on: 10 May 2023 16:05
Category: DateTimePicker
Type: Bug Report
1
DateTimePicker

Hey,

 

Just reporting this as an active bug. If I have a nullable DateTime object, and I erased the date on the date time picker, it treats the date time field as invalid. I would expect it to be treated as valid.

Related thread: https://feedback.telerik.com/blazor/1582282-datepicker-should-accept-null-value-as-valid-when-bound-to-nullable-datetime

This is the razor page:

<TelerikDatePicker Id="@Id"
   T="DateTime?"
   Value="@Value"
   ValueExpression="@ValueExpression"
   ValueChanged="@ValueChanged"
   OnChange="@OnChange"
   Class="@($"{InputClass}")"
   Enabled="@Enabled"
   Format="@DateTimeFormat.DateOnly"
   Min="@MinDateTime"
   Max="@MaxDateTime"
   Width="@Width"></TelerikDatePicker>
Duplicated
This item is a duplicate of an already existing item. You can find the original item here:
1 comment
ADMIN
Nadezhda Tacheva
Posted on: 16 May 2023 14:59

Hi John,

Thank you for reaching out!

The related report that you have linked lists the DatePicker but it also targets the DateTimePicker.

Having this in mind, I'm marking the current ticket as a duplicate so we can track the items together.

Regards,
Nadezhda Tacheva
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!