From 7b3ec3cb1b94e0103ac1f33a4229d6e6a722ec5a Mon Sep 17 00:00:00 2001 From: dudi Date: Mon, 7 Dec 2020 07:49:12 +0200 Subject: [PATCH] merge issues/14 --- demo-angular/src/app/home/home.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/demo-angular/src/app/home/home.component.ts b/demo-angular/src/app/home/home.component.ts index 2d2652e..eec1adc 100644 --- a/demo-angular/src/app/home/home.component.ts +++ b/demo-angular/src/app/home/home.component.ts @@ -16,8 +16,9 @@ export class HomeComponent implements OnInit { ngOnInit(): void { const options = new Options(); // options.selectionMode = "MULTIPLE"; - options.selectionMode = "SINGLE"; + options.selectionMode = "RANGE"; options.selectToday = false; + this.dateRange = create(options); } @@ -25,7 +26,7 @@ export class HomeComponent implements OnInit { const options = new Options(); options.selectionMode = selectionMode; this.dateRange = create(options); - this.dateRange.showDateRangePicker(); + //this.dateRange.(); } getSelectedDate() {