Open amitrohra opened 6 years ago
At least you show some code It's virtually impossible to know what you're doing. Help us to help you
Hi,
Sorry for incomplete information, following are the details: I am getting the following output:
Not able to get any event / select dates.
Html:
<body>
<div class="calendar" style=""></div>
<script>
$(function(){
$('.calendar').calendar();
});
</script>
</body>
Anything else need to be imported/ I missed applying options?
Anyone have a solution? I'm having the same issue.
Aha! I figured it out. The problem is that this bootstrap-year-calendar widget is not compatible with bootstrap v4. I switched to bootstrap 3.3.5 and it's working now. It may not be my place to criticize, but I would highly advise the makers of this plugin to revise their documentation to mention which version of bootstrap to use. It also doesn't help when they recommend you use npm as the package manager, but the command they suggest for installation will install bootstrap v4, which causes even more confusion. I don't know, that's just how I would do things.
This project can easily be made to work with Bootstrap 4! Use the bootstrap-year-calendar.js file. Make the following changes:
That is all! It is working for me with Bootstrap4.
@garth1138 Thank you very much. It worked for me
I am not able to display the entire calendar in one page, I get the calendar one below the other.
Also not able to perform any events.
Is there anything I am missing to specify? Can you please guide?