-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: DateInputC: DatePickerC: DateRangePickerC: TimePickerFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemRegressionBroken functionality which was working previouslyBroken functionality which was working previouslyS: Wrappers (ASP.NET Core)SEV: High
Milestone
Description
Bug Report
The Pickers are not bound to model value when a nullable DateTime is set.
Reproduction of the problem
- Create a model with a nullable DateTime property
public class MyModel { public DateTime? Birthday { get; set; } } - Declare either a DatePickerFor, DateRangePickerFor, DateInputFor, or TimePickerFor Helpers
@(Html.Kendo().TimePickerFor(m => m.Birthday)) - Notice, that the value has not been bound accordingly.
Current behavior
The Pickers are not bound to model value when nullable.
Expected behavior
The Pickers are not bound to model value when a nullable DateTime is set.
Environment
Kendo UI version: 2024.4.1112
jQuery version: x.y
Browser: [all]
Metadata
Metadata
Assignees
Labels
BugC: DateInputC: DatePickerC: DateRangePickerC: TimePickerFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemRegressionBroken functionality which was working previouslyBroken functionality which was working previouslyS: Wrappers (ASP.NET Core)SEV: High