DateTimePicker controls for selecting a time don't scroll on touch screen devices as of 2022.2.510.
Previously this has worked without any problems, but since we updated to 2022.2.510 the timepicker dropdown list no longer scrolls on touch screen devices, and instead the entire page scrolls, so the user can't select any other times.
We have included the 'kendo.mobile.min.js' and 'kendo.mobile.scroller.min.js' files but this has not resolved the issue.
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.
It would be great to allow custom configuration of Time drop down in DateTimePicker control. Since most occurrences in normal system will take place between normal business hours (7am - 6pm), it would make sense to have the time dropdown start at 7am and then go on from there so it would be: 7am 8am 9am .... 4pm 5pm 6pm ...... 12am 1am etc. This would improve user experience by putting the most commonly selected times first in the dropdown list and reduce the scrolling the user has to perform.
Hi Team,
I would like the user to be able to add a value into the Kendo UI DateTimePicker's input with the calendar opened. Currently, if the calendar is open, the focus will be on the calendar, and it will select today's date upon pressing enter.
Thank you!
The TimePicker widget allows specifying a max date via its options. If none is specified, the widget uses a default max date (00:00 of the current day). However, since the selected value also use the current day for its date part, all selected values are bigger than the max value.
This means that when checking whether a selected value is smaller than the defined max value, the check will always fail, because e.g. 2022-12-22 12:00 is bigger than 2022-12-22 00:00. This DOJO demonstrates the behaviour (select a value and check the console output).
In my opinion, it would make more sense to set the default max date to either 23:59 or 00:00 of the following day.
The time picker in the datetimepicker control doesn't work fully when accessed in mobile.
The behaviour can be seen on your own demo page here https://demos.telerik.com/kendo-ui/datetimepicker/index. Run the example, click the time icon to display available times, and you will see that you cannot scroll the times. It just shows what is initially loaded, we would expect this to scroll to allow the time to be amended as needed.
Optionally allow for the disabling of Daylight Savings time detection when using the DateTime picker, or to set the TimeZone for the picker manually.
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
The close event of a DateTimePicker with componentType: modern
does not provide reference to the view
e.view
is undefined
The event data of a DateTimePicker with componentType: modern
should provide reference to the view
Since R1 2022, the setOptions method re-enables a disabled widget.
Dojo
Hi Kendo Team,
After we updated to version 2022.2.301 we decided to modify our theme by compiling the Metro theme from the source files and adjusting some of the variables provided.
When checking on the styles of the date-time-picker we noticed that the focused column of the time picker would not be highlighted anymore. Also the title would not get the darker color it had in the previous version (see attached image)
We noticed that in v2022.2.301 the focus class has changed from 'k-state-focused' to 'k-focus' (see inspector screenshot)
The styles in the files 'web/common/inputs.less' and 'web/type-metro.less' on the other hand still refer to the class .k-time-list-wrapper..k-state-focused to style title and the ::before and ::after elements that define the background color.
We will add styles to our custom file to correct this. The question for future updates would be though, which class will be the preferred one to keep.
Thanks,
Markus
Globalized applications use the DateTimeOffset type instead of DateTime since it includes the offset from UTC for different time zones. If DateTimePicker could bind to this type it would simplify UI development. It would have to have the offset or timezone value provided as either a property or as a second binding.
When using SASS themes and changing the month in the DateTimePicker the animation shows calendars for two months in the popup.
This is a regression introduced with v 2022.2.802
Two calendars are visible during the animated month change - screencast.
The widget should behave like with v2022.2.621
The Timepicker portion of Date/Timepicker is showing an odd border and the highlight is slicing that border in half when hovering/clicking within the timepicker. I looked at the timepicker only control, and this border is not showing.
I am attaching the 2 the snippets from dojo.telerik.com for each of the 2 controls to show the display difference.
Bug report
DateTimePicker modern type cut does not flip popup when there is more space above the input
Reproduction of the problem
Open this example:
https://runner.telerik.io/fullscreen/OnUNodon/2
Resize the window so vertical scrollbar appears
Scroll so the DateTimePicker is below the center of the window
Open the DateTimePicker
Expected/desired behavior
Popup shall be positioned on top of the input
Environment
Kendo UI version: all
Browser: [all]
TicketID 1545933
Hi,
We are using DatePicker and DateTimePicker with DateInput.
Since Kendo UI 2021 R1 the DatePicker is showing the DateInput mask when the value is null. The DateTimePicker behaves correctly.
I've prepared an example. The value is set to null manually here, but in our code it is set via MVVM binding.
https://dojo.telerik.com/OcaVaWoX
Reproduce:
1. Select Version Kendo 2020 R3: The DatePicker and DateTimePicker are both empty. That's the expected behavior.
2. Select Version Kendo 2021 R1: The DatePicker now incorrectly shows the DateInput mask, the DateTimePicker shows the empty picker correctly.
Best regards
It is essential that k-ng-model integrate completely and accurately with angular. For instance if I am using k-ng-model with a date picker and set it to required angular validation will not work. This same issue exists with all of the kendo controls that support k-ng-model
This can be reproduced on your demo page. If you inspect the input element there, you'll see this:
I would expect this element to only have the role="datepicker" and not the role="combobox". This caused an issue for us, because we use this attribute to check some things in our javascript code.
### Bug report
When the Kendo UI DateTimePicker widget with componentType set to 'modern' is used in the filter menu of the Kendo UI Grid and the "Set" button is clicked, the form is submitted automatically.
### Reproduction of the problem
1) Set filterable.ui to be a DateTimePicker with componentType: modern;
2) Open the filter menu. Choose a date from the picker and click "Set";
3) The form is automatically closed/submitted.
A Dojo sample for reproduction (the 3rd column of the grid): https://dojo.telerik.com/ANEFExOC
### Expected/desired behavior
The form should not be automatically closed/submitted.
### Environment
* **Kendo UI version:** 2021.1.119
* **jQuery version:** 1.12.4
* **Browser:** [all]
When using the readonly method for the Kendo UI DatePicker when toggling to remove the readonly attribute, the aria-readonly attribute remains.
The aria-readonly attribute is still included in the Kendo UI DatePicker.
The DatePicker's readonly method should work like the DateTimePicker's method.