Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled, cant select any date #333

Open
jagabs opened this issue Sep 1, 2018 · 4 comments
Open

Disabled, cant select any date #333

jagabs opened this issue Sep 1, 2018 · 4 comments

Comments

@jagabs
Copy link

jagabs commented Sep 1, 2018

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",

@kogden
Copy link

kogden commented Oct 19, 2018

Having a similar issue. Elements are overlapping as well.

@ghizoulo
Copy link

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

@egemenu
Copy link

egemenu commented Feb 11, 2019

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.

@brijesh872
Copy link

Remove minDate and maxDate from options: DatepickerOptions = {}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants