fetrarij / ngx-daterangepicker-material

Pure Angular 2+ date range picker with material design theme, a demo here:
https://fetrarij.github.io/ngx-daterangepicker-material/
MIT License
246 stars 247 forks source link

How to open two calender when singleDatePicker is true #395

Open sc-varraj opened 2 years ago

sc-varraj commented 2 years ago

Hello,

Am not able to open two calender when we put [singleDatePicker]=true, if we use [singleDatePicker]=false and only want to select single date and keet start and end date equal , they still wants to select range. Am doing start and end date equal by taking there object value ; datePicker: DaterangepickerComponent; this.datePicker.endDate = this.datePicker.startDate;

FractalMind commented 11 months ago

Hello,

Am not able to open two calender when we put [singleDatePicker]=true, if we use [singleDatePicker]=false and only want to select single date and keet start and end date equal , they still wants to select range. Am doing start and end date equal by taking there object value ; datePicker: DaterangepickerComponent; this.datePicker.endDate = this.datePicker.startDate;

Any news on this?

Is there any workaround for this problem?