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

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
Last Updated: 25 Nov 2021 14:14 by ADMIN
Created by: Jake
Comments: 1
Category: DateTimePicker
Type: Feature Request
0

Disabled Dates are only available in Date or DateRange pickers. They need to be in the DateTime pickers as well.
Now I am going to have to split my components into a Date Picker and a Time Picker, which isn't a great user experience.

DateTimePicker

 

DatePicker