The new date range picker in angular material 10 resets the end date every time there is new date selection is made, can\'t it work like
if (past_end_date) { st