DatePicker shows format string when no value is selected. If you have a form a DatePicker bound to a nullable DateTime, it will show the formatting string when no value is selected, instead of just showing an empty box. This is very confusing to the end user compared to just an empty box. We have not found a way to change this.
Hello Patrik,
You can set the PlaceHolder to be a space and make it invisible when the empty textbox has no focus. Alternatively, set a FormatPlaceholder that will be more understandable for the users. Finally, you can do both.
<TelerikDatePicker Value="@Value" Placeholder=" ">
<DatePickerFormatPlaceholder Year="year" Month="month" Day="day" />
</TelerikDatePicker>
@code {
DateTime? Value { get; set; }
}
I am marking this bug report as declined, as the behavior is by design.
Regards,
Dimo
Progress Telerik