SaturnTeam / saturn-datepicker

Angular Material Datepicker with range selection
MIT License
276 stars 110 forks source link

DatePicker Observable that fires when calendar beginDate is selected? #121

Open Defmetalhead opened 4 years ago

Defmetalhead commented 4 years ago

I have a calendar with a "clear" button in the header. I need a listener on the calendar that fires anytime a date is active(or when beginDate has been selected). I tried "dateChange", but it only fires when both dates have been submitted. Any thoughts on how I would listen for "beginDate" selection before "endDate" is selected?

Essentially I need an event to activate the header clear button as soon as the first date is selected that will allow the user to clear selected dates even though end date was not selected.

SaturnTeam commented 4 years ago

It's a new feature. You can implement it