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
I am trying to add datepicker to a form, but every time I run the code I get the message:
Uncaught TypeError: Cannot read property 'dates' of undefined.
The error is linked to bootstrap-datepicker-en-CA.min.js, which I added as a cdn at the top of my html file. I've tried adding both dropdowns.less and sprites.less, but that does not seem to resolve my problem. None of the existing threads about this issue seem to help, although I am pretty new to this arena.
Are there any other dependencies or downloads that I need in order for this to run properly? Can I do everything through cdns, or am I missing an important step somewhere? Do I need to download the class 'dates' somewhere?
Thanks
The text was updated successfully, but these errors were encountered:
Sorry for the delay, I'm not familiar with that error. It'd help if you could share code that would allow me to reproduce the issue. You may also want to post this at https://github.com/uxsolutions/bootstrap-datepicker as they manage the datepicker itself. This repository is just a thin wrapper around their plugin that makes it easy to use in Meteor.
I am trying to add datepicker to a form, but every time I run the code I get the message:
Uncaught TypeError: Cannot read property 'dates' of undefined.
The error is linked to bootstrap-datepicker-en-CA.min.js, which I added as a cdn at the top of my html file. I've tried adding both dropdowns.less and sprites.less, but that does not seem to resolve my problem. None of the existing threads about this issue seem to help, although I am pretty new to this arena.
Are there any other dependencies or downloads that I need in order for this to run properly? Can I do everything through cdns, or am I missing an important step somewhere? Do I need to download the class 'dates' somewhere?
Thanks
The text was updated successfully, but these errors were encountered: