-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: DateRangePickerFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)S: Wrappers (ASP.NET MVC)SEV: Medium
Milestone
Description
Bug report
There is a difference in behavior between the wrappers (MVC and Core) and the Kendo UI for jQuery DateRangePicker. See the following dojo example, which shows initializing the component with a null value for the End date: https://dojo.telerik.com/IkAMUJoG/2
In contrast, the MVC and Core helpers display the Start value as End value.
Reproduction of the problem
- Run this REPL: https://netcorerepl.telerik.com/GoaDYoFu45uqxdEF31
Current behavior
The End value is the same as the Start value.
Expected/desired behavior
The End value is null.
Consider also the scenario, where the Range configuration is not set and the component gets the Start and End values from the model, and the value of the EndDate field is null:
@(Html.Kendo().DateRangePickerFor(m => m.StartDate, m => m.EndDate )
.Name("dateRangePicker")
)
Environment
- Kendo UI version: 2024.3.806
- jQuery version: x.y
- Browser: [all]
Metadata
Metadata
Assignees
Labels
BugC: DateRangePickerFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemS: Wrappers (ASP.NET Core)S: Wrappers (ASP.NET MVC)SEV: Medium