Completed
Last Updated: 13 May 2019 16:20 by ADMIN
Release 2019.R2
Piotr
Created on: 21 Mar 2019 16:44
Category: Date/Time Pickers
Type: Bug Report
1
Time Picker with dateInput=true handles mouse/keyboard arrows time change in a wrong way

Actual behavior:

User uses down key or mouse scroll to change the time. A 00:00 hour is set instead of chosen hour on blur.

Expected behavior:

A value chosen by user remains selected. It's not changed by the timepicker.

Additional Context:

This problem occurs only when picker.enable(true) is called after component creation and user uses down arrow / mouse scroll to get to the the 'previous' day. When no .enable method is called everything works fine. Please see attached code snippets and gifs.

Dojo link: https://dojo.telerik.com/OZEDuFEg

Bug can be reproduced using the following code snippet:

 $(document).ready(function () {
    // create TimePicker from input HTML element
    var picker = $("#timepicker").kendoTimePicker({
            dateInput: true,
            format: 'HH:mm'
        }).data('kendoTimePicker');
    picker.enable(true)
});

Removing 

picker.enable(true)

fixes the issue

Attached Files:
1 comment
ADMIN
Milena
Posted on: 28 Mar 2019 15:59
Hello,

Thank you for reporting this issue.

Our dev team also confirmed the problem. You can follow its status in our feedback portal.
Your Telerik points have been updated accordingly.

Regards,
Milena
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.