Last Updated: 06 Jun 2022 10:40 by Ben
Created on: 06 Jun 2022 10:40
Category: DateRangePicker
Type: Bug Report
DateRangePicker cannot update only the 'end' date when using the Calendar selection

Describe the bug
When working with the DateRangePicker, if we want to change only the end date of the component, this is possible through the "end" input and not through a single calendar selection.

To Reproduce

  1. Open this StackBlitz example
  2. Select the END input. The Calendar will open
  3. Click on a date in the Calendar
  4. The selected date is being set to the "Start" value of the component.

Expected behavior
If the "End" input is focused, when we click on a date in the component's Calendar, only the "End" value should be changed.