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 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
The problem can be observed in the following example from the documentation:
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.
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
Bug report
DateTimePicker throwns an error when templated date is selected in modern type
Reproduction of the problem
1) Open the Dojo:
https://dojo.telerik.com/aBohiHiR
2) Click on the dates which are highlighted (11or 6) in the below image. On clicking on the dates it will go to the Time tab
3) Click on the Set button. You can able to see an exception in the console.
Expected/desired behavior
No error shall be thrown
Environment
Kendo UI version: [all]
Browser: [all]
Bug report
While clicking tab key the button to choose Date or Time, Set and Cancel gets disappear
Reproduction of the problem
Dojo: https://dojo.telerik.com/eMaQIbAw
1. Click on the date button in the date time picker to open the Calendar popup
2. Press tab until the buttons disappear.
3. Pressing shift+tab will show the buttons again.
Expected/desired behavior
Set and Cancel buttons shall not disappear
Environment
Kendo UI version: [all]
jQuery version: x.y
Browser: [all]
The different Date/Time Pickers contain of an input field and a button that opens a calendar view in a popup. Usually, the background color of the button changes when it is clicked. In Firefox, nothing happens, because it seems to block the :active pseudo class. This DOJO demonstrates the behavior.
In other, similar input widgets like the NumericTextBox, this problem does not occur, because the .k-selected class is set on the button instead. Still, Firefox blocks the :active pseudo class.
Since R1 2022, the setOptions method re-enables a disabled widget.
Dojo
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.
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
Hi Team,
I'd like to request adding the Buddhist Calendar to the Kendo UI Date/Time Pickers/Calendar.
Thank you!
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
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.
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.
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
### 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]
popup: {
position: 'top right'
}
Bug report
In "modern" style with 24h format, it's not possible select 00 hour but only 24
Reproduction of the problem
Open below Dojo:
https://dojo.telerik.com/AVUPahuS
Open TimePicker and try to Select 00:00
Current behavior
There is no 00:00
Expected/desired behavior
User shall be able to select 00:00 as it is in non-modern type
Environment
Kendo UI version: 2020.2.617 and above
jQuery version: x.y
Browser: [all]
If the user opens the Kendo UI DateTimePicker with a componentType of "modern", then selects set without any modifications, it will select today instead of what is in the input.
The value in the input should remain set as the Kendo UI DateTimePicker's value.