I need to define the range days number in order to prevent user to select ranges not valid for me (e.g. major than 5 days).
I tried using ]matDatepickerFilter] or (dateChange) but foth of them are useless cause the start date is set only when I select the end date too, preventing me to do any check BEFORE end date is selected.
is there any way I can detect a first selected date?
My range is dynamic and it depends on the first selected date. So I need to detect the first selected date event and limit the range for end date.
Hi,
I need to define the range days number in order to prevent user to select ranges not valid for me (e.g. major than 5 days). I tried using ]matDatepickerFilter] or (dateChange) but foth of them are useless cause the start date is set only when I select the end date too, preventing me to do any check BEFORE end date is selected.