Duplicated
Last Updated: 26 Sep 2024 07:01 by ADMIN

I want to set the initially focused time/date for the DateTimePicker before opening the picker to improve the user experience. When opening the DateTimePicker with a null value the preselected date is the current day and the time is always 00:00/12:00AM.

I do not want to set value for the component but rather alter the time/date that will be initially focused when opening the popup.

===

ADMIN EDIT

===

The request also applies to the rest of the pickers - DatePicker, DateRangePicker and TimePicker.

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