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
var a = new Date("2021-12-10 05:00:12");
var testHour = document.getElementById("test");
testHour._flatpickr.setDate(a, true);
in the console i throw this error
flatpickr.js:1177 Uncaught TypeError: Cannot set property 'tabIndex' of undefined
at buildMonthSwitch (flatpickr.js:1177)
at jumpToDate (flatpickr.js:921)
at Object.setDate (flatpickr.js:2299)
if i delete the true argument (but i need for fire the event) there are no errors
the error appears in this conditions
if I have not opened the input by manual click
if the date is in future
The text was updated successfully, but these errors were encountered:
cedbesafilm
changed the title
Timepicker - Bug on set time based on future dates
Timepicker - Bug on timepicker with fire event
Dec 28, 2020
https://jsfiddle.net/2eudkahz/
Your Environment
When i create a flatpickr istance with this configuration
and later i access the instance with this command
in the console i throw this error
if i delete the true argument (but i need for fire the event) there are no errors
the error appears in this conditions
The text was updated successfully, but these errors were encountered: