Topic: Time picker error in console
Flebe333 free asked 7 years ago
Uncaught TypeError: node.className.split is not a function
at WOW.doSync (wow.js:346)
at WOW.<anonymous> (wow.js:335)
at Array.forEach (<anonymous>)
at WOW._mutations (wow.js:332)
This error also shows when i try and pick a time
This is also showing on your site in chrome https://mdbootstrap.com/javascript/time-picker/
Uncaught TypeError: e.className.split is not a function
at WOW.doSync (compiled.min.js?ver=4.4.0:12)
at WOW.<anonymous> (compiled.min.js?ver=4.4.0:11)
at Array.forEach (<anonymous>)
at WOW._mutations (compiled.min.js?ver=4.4.0:11)
pjmarshall1 pro answered 7 years ago
Jakub Strebeyko staff commented 7 years ago
Hi pjmarshall1, Could you provide us code to work on and figure out? Thanks. With Best Regards, Kubapjmarshall1 pro commented 7 years ago
<input name="start_time" placeholder="Select a time" value="" type="text" class="form-control timepicker m-0 p-0 w-50" [twelvehour]="true" [darktheme]="false" style="height: 48px;"> $('.timepicker').pickatime(); This is also happening on the Time Picker page on your site as well. I'm having an issue with the Time Picker in a modal where it does pop up but when I select a time it doesn't populate the field. Also selecting either am or pm closes out the Time Picker.Jakub Strebeyko staff commented 7 years ago
Hi there pjmarshall1, Thanks for noticing the error - our team is on it. When it comes to a simple fix, I must admit wasn't able to recreate described behavior once I copied thetime picker
code onto modal's body. Would it be possible for you to submit a (not-) working example on JSFiddle or CodePen, or perhaps share the code here, the one certain to have this problematic feature?
With Best Regards,
Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Bartłomiej Malanowski staff commented 7 years ago
Thank you for noticing. This bug will be fixed in the next release of MDBFlebe333 free commented 7 years ago
When will this be released? Since we already upgraded and we can not have this bug on our side. If it will be a while before release can you maybe give us a fix so we can implement it on our side until the next release