Completed
Last Updated: 08 Nov 2024 14:08 by ADMIN
Release 2024 Q4 (Nov)
Created by: oleg
Comments: 0
Category: DateRangePicker
Type: Bug Report
1

Bug report

When clearing the contents of part of a Kendo UI DateRangePicker with a clear button, the change event does not trigger.

Reproduction of the problem

  1. Go to this Progress Kendo UI Dojo.
  2. Add dates to start and end inputs - Change event fires as shown in console.
  3. Clear them with the clearbutton - Change event does not fire.

Expected/desired behavior

The Change event should fire when clear button is pressed.

Workaround

Subscribing to a mousedown event on the clear button, and manually triggering the change event. It will require a setTimeout due to timing purposes:

      //Mousedown event on clear button
      $("span.k-clear-value").on("mousedown", function(e){

        //set timeout for timing purposes
        setTimeout(function(){

          //reference DateRangerPicker and trigger Change event
          var dateRange = $("#daterangepicker").data("kendoDateRangePicker");
          dateRange.trigger("change");
        }, 200);
      });

Environment

Completed
Last Updated: 13 Sep 2024 12:16 by ADMIN
Release 2024 Q3 (Aug)
Created by: Aleksey
Comments: 1
Category: DateRangePicker
Type: Bug Report
0

Hi,

There might be an issue with the DateRangePicker - when dates are removed manually from inputs (e.g., select, then delete) and something like month/day/year is displayed, incorrect dates are returned when I use API.

var range = daterangepicker.range()

The issue can be reproduced in the DateRangePicker demo page. Steps to reproduce:

  1. Open the page the jQuery DateRangePicker API page.
  2. Click SET VALUE to assign some predefined values. Correct values are displayed in the widget.
  3. Click GET VALUE and correct values are displayed in the popup (alert).
  4. Clear inputs manually in the widget (clear the Start date first, then End date), so both inputs display month/day/year now.
  5. Click GET VALUE again. Now, values are incorrect. Start is null and End displays the previously selected date, not null as expected.
    (If you clear End date first, then End Date would be null, and Start Date would be the previous value.)
    See the attached screenshot.

Is it a bug or I do something wrong? I am using 2024.1.3016. Is it fixed in the latest version? If not - any timeframe when it could be fixed? 

As of now I am using workaround - if an input value contains a letter, the then I assume date = null. Otherwise, I keep the value from range object. Is there a better way to work around the issue?

Thank you.

Regards, 

Aleksey Gasnikov

 

Completed
Last Updated: 12 Sep 2024 13:20 by ADMIN
Release 2024 Q4 (Nov)
Created by: Frederic
Comments: 0
Category: DateRangePicker
Type: Bug Report
0

Reproducable in the following Dojo:

https://dojo.telerik.com/@foxontherock/UKureVOy/2 

Open the daterangepicker and make a selection, for example 10th of December to 15th of December(10.12 - 15.12). 

Open the daterangepicker and make another selection 12th of December to 17th of December(12.12 - 17.12).

Only the 17th is selected instead of the entire 12-17 range.

Completed
Last Updated: 12 Sep 2024 12:43 by ADMIN
Created by: Umair
Comments: 0
Category: DateRangePicker
Type: Bug Report
1

### Bug report

### Reproduction of the problem
_(bug report only)_
When start and depth are configured on a DateRangePicker, users are unable to select а range.

Dojo: https://dojo.telerik.com/oWUPosiP


### Expected/desired behavior
The expected is users to be able to select range as it is currently in DatePicker.

Dojo: https://dojo.telerik.com/oKIyeLEJ


Completed
Last Updated: 17 Jul 2024 13:29 by ADMIN
Release 2024 Q3 (Aug)

Bug report

When the autoClose option is set to false the range set in the DatePicker is longer so that the end date of the selected range is not visible, and a new range can not be selected.

Reproduction of the problem

  1. Open the Dojo and try to select a different range -https://dojo.telerik.com/@NeliK/otEjIcEh

Current behavior

The end date is never changed

Expected/desired behavior

It should be possible to select a new end of the range.

Environment

  • Kendo UI version: 2024.2.514
  • Browser: [all ]
Completed
Last Updated: 28 May 2021 15:27 by ADMIN
Release 2021.R2.SP.next
Created by: Emily
Comments: 5
Category: DateRangePicker
Type: Bug Report
7

I'm observing this issue with the Demo version of the DateRangePicker: https://demos.telerik.com/kendo-ui/daterangepicker/index

 

  1. Enter Start Date via keyboard (ex. 7/1/2017)
  2. Click on End Date to select a date in the popup calendar (ex. 7/10/2019)

 

The End Date is not set and the Start Date changes to the selected End Date.

Completed
Last Updated: 29 May 2020 07:38 by ADMIN
Release 2020.R1.SP2
Created by: Softwarehouse
Comments: 1
Category: DateRangePicker
Type: Bug Report
1

Dear Kendo Support Team,

we are using Kendo UI in our ASP.NET MVC application. We want to remove the values from DateRangePicker. The dates are removed from inputs but the calendar keeps the previous value highlighted when we move back and forth between the months.

Example code: https://dojo.telerik.com/ATuyAWuF/3

Best regards,
Peter

Completed
Last Updated: 17 Feb 2020 11:41 by ADMIN
Release 2020.R1

Bug report

The change event of the DateRangePicker fires three times every time you change an input field.

This is a regression in Kendo v2019.2.514

Reproduction of the problem

  1. Open this Dojo example.
  2. Select Start and End date.

Current behavior

The change event fires three times on every input change, for a total of six.

Expected/desired behavior

The change event should only fire once when a date is selected.

Environment

  • Kendo UI version: 2019.2.514
  • Browser: [all]