telerik / kendo-ui-core

An HTML5, jQuery-based widget library for building modern web apps.
http://www.telerik.com/kendo-ui
Other
2.53k stars 1.91k forks source link

DateRangePicker does not work with depth different than month #6400

Open gyankov opened 3 years ago

gyankov commented 3 years ago

Bug report

Currently, due to the filter of the RangeSelectable, it is not possible to select a date with a depth set to anything but "month".

Reproduction of the problem

https://dojo.telerik.com/@sspasova/APUfiHiM

Current behavior

It is not possible to select a date.

Expected/desired behavior

It should be possible to select a date.

Suggested fix

                that.rangeSelectable = new RangeSelectable(that.wrapper, {
                    filter: "table.k-" + that.options.depth + " " + CELLSELECTORVALID,
                    change: proxy(that._rangeSelection, that)
                });

Environment

gdenchevprog commented 1 year ago

Reported again 1517569