Hi Saransh,
For your use-case, the below-mentioned approach will work.
- From the DatePickerRange widget's OnSelect handler, store the selected date range Start and End date in local variables e.g., SelectedStartDate and SelectedEndDate
- Associate the same local variables to the DatePickerRange widget's InitialStartDate and InitialEndDate properties respectively.

Demo Screen: DateRangePickerTask
Refer to the attached oml.
I hope this helps you!
Kind regards,
Benjith Sam