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

maxDate has to be in the future #211

Open
Niek opened this issue Oct 22, 2019 · 1 comment
Open

maxDate has to be in the future #211

Niek opened this issue Oct 22, 2019 · 1 comment

Comments

@Niek
Copy link

Niek commented Oct 22, 2019

There is an issue where maxDate has to be in the future. Having the same date as the current day causes issues. Workaround:

let tomorrow = new Date();
tomorrow.setTime(tomorrow.getTime() + 86400000);
bulmaCalendar.attach('#date', {
  maxDate: tomorrow,
  disabledDates: [tomorrow]
});
@babajidemm-bd
Copy link

babajidemm-bd commented Dec 3, 2019

Ah, similar to this issue: #219

@Niek Thanks for the workaround! Though ugly, but it would do for now.

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

2 participants