SaturnTeam / saturn-datepicker

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

Is it possible to pre-select the date range (begin and end date) in Inline Calendar? #166

Open ghost opened 3 years ago

ghost commented 3 years ago

Is it possible to pre-select the date range (begin and end date) in Inline Calendar? Requirement: When I open the page where inline calendar is there, a date range should be pre-selected. I can't find the @input properties in the sat-calendar component where I could pass the begin and end dates to preselect the values. Note: sending data to @Input properties: beginDate and endDate does not help pre select the date range.

AlonsoK28 commented 3 years ago

According to the README example, I thought that the [selected]="selectedDate" property could be used for that, but I tried and it didn't work