ng2-datepicker icon indicating copy to clipboard operation
ng2-datepicker copied to clipboard

Disabled, cant select any date

Open jagabs opened this issue 6 years ago • 4 comments

screen shot 2018-09-01 at 4 30 56 pm

I followed the guide but its disabled, also i copied the options fr the doc. "ng2-datepicker": "^3.1.1", "@angular/animations": "6.0.0", "@angular/common": "6.0.0", "@angular/compiler": "6.0.0", "@angular/core": "6.0.0", "@angular/forms": "6.0.0", "@angular/http": "6.0.0",

jagabs avatar Sep 01 '18 08:09 jagabs

Having a similar issue. Elements are overlapping as well.

kogden avatar Oct 19 '18 19:10 kogden

@kogden @jagabs I have the same problem, Have u solved it ?

ghizoulo avatar Jan 10 '19 13:01 ghizoulo

Just change the maxDate and minDate in options.

In readme you can see both of them are Date.now() and there is no any selectable date between them.

egemenu avatar Feb 11 '19 04:02 egemenu

Remove minDate and maxDate from options: DatepickerOptions = {}

    minDate: new Date(Date.now()), // Minimal selectable date
    maxDate: new Date(Date.now()),  // Maximal selectable date

brijesh872 avatar Aug 17 '19 08:08 brijesh872