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

datesDisabled not working #5118

Closed
platzhersh opened this Issue Mar 21, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@platzhersh
Copy link

platzhersh commented Mar 21, 2019

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 3.2.0

Angular: 7.2.9

Bootstrap: 3.3.7

Build system: Angular CLI

The datesDisabled property of the bsConfig does not seem to work. No dates are getting disabled when I use it with a Date[] Array.

https://stackblitz.com/edit/ngx-bootstrap-wvmjcz

@ludmilanesvitiy

This comment has been minimized.

Copy link
Member

ludmilanesvitiy commented Mar 22, 2019

@platzhersh Could you try this way, please: https://stackblitz.com/edit/angular-ngx-bootstrap-datepicker-datesdisabled ? It works.
In your stackblitz example I see old ngx-bootstrap version, but datesDisabled available only from 3.3.0 version, see changelog: https://github.com/valor-software/ngx-bootstrap/blob/development/CHANGELOG.md

@platzhersh

This comment has been minimized.

Copy link
Author

platzhersh commented Mar 22, 2019

Thank you! I wasn't aware that 3.3.0 is out! On npmjs it is still on 3.2.0.
Thanks a lot for pointing that out!

With 3.3.0 it is working fine!

@platzhersh platzhersh closed this Mar 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.