Approved
Last Updated: 24 Jan 2020 10:45 by ADMIN
Created by: SKUBOREV
Comments: 0
Category: Date/Time Pickers
Type: Bug Report
0

Bug report

 

DatePicker throws JS error "Cannot read property '_focus' of undefined" in the following scenario:

1. Focus element

2. Select all text inside

3  Press Backspace or Delete

4. Remove focus from the element by clicking outside

Dojo to reproduce: https://dojo.telerik.com/uZAhiHuC

Reported in #1450532

Approved
Last Updated: 23 Jan 2020 09:21 by ADMIN
Created by: Ján Horník
Comments: 0
Category: Date/Time Pickers
Type: Bug Report
0

Bug report

When the Kendo UI TimePicker is used as an editor and the dateInput option is set to true, incorrect validation is initiated. By default, the DateInput underlying widget min option is set to today's date. 

Reproduction of the problem

1. Create a TimePicker widget.

2. Set the dateInput option to true.

3. Open the cell for editing.

4. Press enter and see the default value applied.

Dojo sample:

https://dojo.telerik.com/EsolonuQ

Expected/desired behavior

When the TimePicker min option is set, the DateInput widget should take the min from the options of its owner, rather than taking today's date.

Workaround

Set the options of the DateInput after the initialization of the widget:

 $(input).getKendoTimePicker()._dateInput.options.min =  new Date(1910, 9, 11);

Environment

* **Kendo UI version:** 2020.1.114
* **jQuery version:** 1.12.4
* **Browser:** [all] 

Approved
Last Updated: 23 Jan 2020 16:52 by ADMIN
Scheduled for 2020.R1.SP.next
Created by: Srikanth
Comments: 8
Category: Date/Time Pickers
Type: Bug Report
2

Hi All,

 

Datepicker is closing after clicking month or year not waiting until selecting the date.

We are using IPAD IOS 13.2.2 version and loading the data in desktop website in IPAD. Dojo also not working properly in IPAD with desktop mode.

 

 

Thanks,

Srikanth.K

 

 

Approved
Last Updated: 02 Oct 2019 15:02 by ADMIN
Scheduled for 2019.R3.SP.next
Approved
Last Updated: 12 Jul 2019 06:38 by ADMIN

Hi
I've tried one of your Dojo to use a dateTimePicker and it's not working like it supposed to.

I haven't changed anything on the Dojo before trying it. This behavior as not cause us any problem so far, it was just to inform you.

I try to enter a time in a PM, but it puts it in AM

Approved
Last Updated: 13 May 2019 08:44 by ADMIN
Created by: Charline
Comments: 3
Category: Date/Time Pickers
Type: Feature Request
4

Dear support,

 

I didn't find in your documentation if and how we can use data-* annotations to setup dataInput options of a datepicker.

I would like to do the same thing that the code below does but with MVVM data-* annotation.

            self.date= $('#dateExample').kendoDatePicker({
                format: 'dd.MM.yyyy',
                dateInput: true,
            }).data('kendoDatePicker');
            self.date._dateInput.setOptions({
                format: 'dd.MM.yyyy',
                messages: {
                    'year': 'yyyy',
                    'month': 'mm',
                    'day': 'dd'
                }

I globally use data-bind for html and kendo UI components. 

I just added the data-format in my html like below, and it works.

  <input data-role="datepicker" id="dateExample" data-format="dd.MM.yyyy" data-bind="value: myValue">

I wonder if we can setup format and messages options for the dateinput of the datepicker with MVVM without using jquery (with something like data-dateinput, data-dateinput-format, data-dateinput-messages...).

 

Thanks in advance for your usual support.

Regards,

Charline.

        
Approved
Last Updated: 21 Feb 2019 07:36 by ADMIN
Created by: Iggy
Comments: 0
Category: Date/Time Pickers
Type: Bug Report
3

When the dateInput property is set to true, the readonly method does not make the widget completely non-editable. It restricts user input, however, the date can be modified using the arrow keys.

Reproduction of the issue in a Dojo sample:
https://dojo.telerik.com/OpIFacOz

1. Initialize DatePicker
2. Set the dateInput property to true
3. Call the readonly() method

Current behavior

Value can be changed with the arrow keys

Expected/desired behavior

The value should not be editable

Environment

  • Kendo UI version: 2019.1.220
  • jQuery version: 1.12.4
  • Browser: [all]

Approved
Last Updated: 13 Aug 2019 08:43 by ADMIN
Created by: CHARBEL KALLASSY
Comments: 0
Category: Date/Time Pickers
Type: Feature Request
4
Date picker when entering the day or day and month to autofill the content with current year or current month and year, same as asp.net ajax datepicker