Unplanned
Last Updated: 11 Jun 2025 08:50 by ADMIN
Geert
Created on: 04 Jun 2025 08:54
Category: MultiViewCalendar
Type: Feature Request
1
Date range component range selection enhancement

Hi,

Recently I have implemented the date range component like described here: https://www.telerik.com/kendo-angular-ui/components/dateinputs/daterange/popup. The component normaly works as following: 

  • A user selects the start or end datepicker and the calendar will open.
  • The start of the range now needs to be selected.
  • Then the end of the range needs to be selected.
  • If a user would now select another date then this will be set as the start of the range.
  • ....

But what a few users have issues with is the following scenario:

  • User selects the start of the range.
  • User selects the end of the range.
  • User wants to change the end of the range so they select the same start of the range again and now select a new end range.
  • As a result the start of the range is changed instead of the end of the range, because the click on the same start of the range didn't do anything.

The same issue also occurs with the MultiViewCalendar. I didn't add a runnable project because the same issue also occurs in the documentation which I linked above.

We are using @progress/kendo-angular-dateinputs": "17.0.1"

It looks like this line in the performRangeSelection method in the MultiViewCalendarComponent causes this behaviour:

const emitValueChange = (this.activeRangeEnd === 'start' && this.value?.start?.getTime() !== date?.getTime()) ||
            (this.activeRangeEnd === 'end' && this.value?.end?.getTime() !== date?.getTime());

 

Thanks,

Joren

1 comment
ADMIN
Zornitsa
Posted on: 11 Jun 2025 08:50

Hi Joren,

Thank you for the provided resources and steps for reproduction.

Based on the shared details, we discussed the described MultiViewCalendar behavior with the developers on our team. As a result, we consider the inability to select the same start date after having previously selected an end date as a limitation of the component, rather than an actual bug due to the internal logic implemented in the MultiViewCalendar.

With the above being said, we recognize this limitation and will make sure to resolve it by providing the explained behavior as an enhancement for the MultiViewCalendar component. For this reason, I converted the current forum thread to a feature request.

This feature request will help us track the demand for the enhancement and eventually implement it in the future.

Regards,
Zornitsa
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.