Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: input.size is not a function at dateTimePicker (bootstrap-datetimepicker.js:2305) #132

Open
planet37533 opened this issue Aug 5, 2016 · 1 comment

Comments

@planet37533
Copy link

I new in allcountjs the first my application has javascript error
TypeError: input.size is not a function
at dateTimePicker (bootstrap-datetimepicker.js:2305)
at HTMLDivElement. (bootstrap-datetimepicker.js:2364)
at Function.each (jquery.js:368)
at jQuery.each (jquery.js:157)
at jQuery.$.fn.datetimepicker (bootstrap-datetimepicker.js:2359)
at Object.date (allcount.js:153)
at Object.service.fieldEditor (allcount-base.js:538)
at allcount-base.js:616
at publicLinkFn (angular.js:6940)
at boundTranscludeFn (angular.js:7080)

Any one please help me.

@indieNik
Copy link

indieNik commented Sep 8, 2016

Hey Hi,

Fix this issue by replacing input.size() with input.length in the following files:

.\node_modules\allcountjs\public\assets\lib\js\eonasdan-bootstrap-datetimepicker\bootstrap-datetimepicker.js
.\node_modules\allcountjs\bower_components\eonasdan-bootstrap-datetimepicker\src\js\bootstrap-datetimepicker.js

Hope that solves it for others as well.

Cheers! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants