Comments (12)
I get the same issue in one of my projects. But when I create a fresh project to test this issue in isolation, it works just fine. @aldeed Does this have something to do with library load order?
from meteor-autoform-bs-datetimepicker.
I compared packages, and it seems that these errors start appearing on adding the meteorhacks:npm
package. @sturoid Do you have meteorhacks:npm
installed in your project?
from meteor-autoform-bs-datetimepicker.
@abhishekbatra Thanks for the help. I don't have that package installed. These are the packages that I have:
meteor-platform
iron:router
zimme:iron-router-active
coffeescript
mquandalle:jade
stevezhu:sass
stevezhu:lodash
aldeed:template-extension
raix:handlebar-helpers
twbs:bootstrap
rajit:bootstrap3-datepicker
aldeed:autoform-bs-datepicker
accounts-password
ian:accounts-ui-bootstrap-3
aldeed:autoform
natestrauser:select2
aldeed:autoform-select2
zimme:select2-bootstrap3-css
ongoworks:security
aldeed:collection2
naxio:flash
dburles:collection-helpers
momentjs:moment
icambron:twix
u2622:persistent-session
alanning:roles
from meteor-autoform-bs-datetimepicker.
I removed some packages and it still has the same problem. This is now my packages file:
meteor-platform
iron:router
accounts-password
zimme:iron-router-active
coffeescript
mquandalle:jade
fourseven:scss
stevezhu:lodash
twbs:bootstrap
tsega:bootstrap3-datetimepicker
aldeed:autoform
aldeed:autoform-bs-datetimepicker
ian:accounts-ui-bootstrap-3
ongoworks:security
aldeed:collection2
dburles:collection-helpers
momentjs:moment
icambron:twix
u2622:persistent-session
alanning:roles
from meteor-autoform-bs-datetimepicker.
I fixed my issue! In my case, the jquery library was being loaded twice (through meteor-bower) resulting in the datetimepicker plugin being not available after initial loading. Check the source of your loaded view on the browser to see if jquery is included more than once.
from meteor-autoform-bs-datetimepicker.
+1 verified that jQuery is not loaded twice... help?
from meteor-autoform-bs-datetimepicker.
Yeah mine only loads jquery once as well. The problem is still there.
from meteor-autoform-bs-datetimepicker.
after searching around the web for similar circumstances, my best guess (amateur at best): is that this has something to do with load order... don't really know where to start a fix but may give it a try sometime this weekend.
Weirdest thing really... it works well on the online demo...
from meteor-autoform-bs-datetimepicker.
SOLVED! remove tsega:bootstrap3-datetimepicker and add it again specifying version 3.1.3 :) Found this under the autoform demo repo package file inside .meteor:
tsega:bootstrap3-datetimepicker@=3.1.3_3
from meteor-autoform-bs-datetimepicker.
@vieko You are seriously my hero. That is the only thing that has finally made it work. I will stick with that version for now.
from meteor-autoform-bs-datetimepicker.
Sorry, thought that was already mentioned in the readme. I updated the docs. This pkg hasn't been updated for new datetimepicker library version yet.
from meteor-autoform-bs-datetimepicker.
Closing all issues. The plugin was a proof of concept which others have forked and made better alternatives.
from meteor-autoform-bs-datetimepicker.
Related Issues (20)
- Using reactive variable to set date on timepicker, but date doesn't show. HOT 1
- Type:Number is not working HOT 2
- interval settings on timepicker don't work with v. 3.1.3_3 of tsega:bootstrap3-datetimepicker HOT 1
- When bootstrap navbar present, date picker appears above and off the screen. HOT 1
- Incompatibility with tsega:bootstrap3-datetimepicker@4 and above HOT 7
- Value will be reset after validation problem HOT 2
- Show debug on browser console "dtp.setDate is not a function"? HOT 4
- upgrade bootstrap to later version in the package 4.17.37 HOT 5
- Reset issue while adding new datetime field in a form. HOT 1
- customizing HOT 2
- gooseman implementation throws an Error: datetimepicker component should be placed within a relative positioned container HOT 1
- datepicker set date dynamic value HOT 1
- getDate() in undefined HOT 3
- currentDate not sets the correct date, but alway 12:00 am HOT 1
- UTC Time HOT 1
- timezoneId doesn't work HOT 1
- Wrong moment-timezone package HOT 1
- Could update to last of datetimepicker? HOT 1
- LT format not supported HOT 3
- Update moment packages to use NPM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-autoform-bs-datetimepicker.