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 method is not working correctly #71

Open
dekisha opened this issue Jun 9, 2021 · 0 comments
Open

datesDisabled method is not working correctly #71

dekisha opened this issue Jun 9, 2021 · 0 comments

Comments

@dekisha
Copy link

dekisha commented Jun 9, 2021

Hi there, when I use this method to pass disabled dates after datepicker has been initialized, the dates are passed in the object correctly but not updated on the datepicker front-end as well https://i.imgur.com/wKOy5oq.png

If month or year has been changed, disabled dates gets visible on the front-end as well https://i.imgur.com/MbIYN1y.png

Do I need to run some function right after:
$input.datepicker('datesDisabled', datesToBeDisabled);
or it should work on it's own? Thanks for you help!

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

1 participant