First post and I expect it to be a real embarrassing one. At this point I'm just aggravatedly tunnel-visioning and I'm sure I'm looking over the most basic issue.
So, I'm using the Bulma Calendar Extension. I just downloaded the files and dropped the min.css, min.js and initiate script into my folders and linked it to my page. Worked perfectly. Looked great. Now, the next day it will not initiate or work at all. I've torn the page down to the absolute minimum, and still can't figure out what the issue is. I've even redownloaded and replaced the files.
// Initialize all input of date type.
const calendars = bulmaCalendar.attach('[type="date"]', options);
// Loop on each calendar initialized
calendars.forEach(calendar => {
// Add listener to select event
calendar.on('select', date => {
console.log(date);
});
});
// To access to bulmaCalendar instance of an element
const element = document.querySelector('#my-element');
if (element) {
// bulmaCalendar instance is available as element.bulmaCalendar
element.bulmaCalendar.on('select', datepicker => {
console.log(datepicker.data.value());
});
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma-calendar@6.1.14/dist/css/bulma-calendar.min.css">
<div class="field">
<input class="" type="date">
</div>
<script src="https://cdn.jsdelivr.net/npm/bulma-calendar@6.1.14/dist/js/bulma-calendar.min.js"></script>