Skip to content

DateRangePicker does not work with depth different than month #6400

@gyankov

Description

@gyankov

Bug report

Value not selectable when start and depth are configured
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
Or

  1. open this Dojo - https://dojo.telerik.com/@Dimitar-Goshev/ilOwIsAP
  2. try to select a range

Current behavior

It is not possible to select a date.

Expected/desired behavior

It should be possible to select a date as it is currently in DatePicker.
Dojo: https://dojo.telerik.com/@sspasova/OWEwubOD

Suggested fix

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

Environment

  • Kendo UI version: 2024.3.806
  • jQuery version: 3.4.1
  • Browser: all

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions