You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Event changeMonth not called, becose selected defaultViewDate.
If select another moth it's work.
Now you have to select another month and back to the current one for the event to work
How fix it?
The text was updated successfully, but these errors were encountered:
I'm so sorry, but I can't catch what you are trying to say by "because selected defaultViewDate". Could you please explain in more detail?
Just in case you are unclear about this. As stated here, the event is triggered when the focused date is changed to a different month's date. In other words, it will not be triggered until the focused date is changed by the user's action (clicking the prev/next button, pressing arrow keys) or setFocusedDate() API call, or through selecting another month's date.
Hi!
const datePaymentPage = new Datepicker(document.querySelector('#datePaymentPage'), { autohide: true, pickLevel: 1, format: 'MM yyyy', });
document.querySelector('#datePaymentPage').addEventListener("changeMonth", (e) => { console.log(e.detail.date); });
Event changeMonth not called, becose selected defaultViewDate.
If select another moth it's work.
Now you have to select another month and back to the current one for the event to work
How fix it?
The text was updated successfully, but these errors were encountered: