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

Uncaught TypeError: year.calendar is not a function #30

Open
basselhossam opened this issue Jan 27, 2019 · 1 comment
Open

Uncaught TypeError: year.calendar is not a function #30

basselhossam opened this issue Jan 27, 2019 · 1 comment

Comments

@basselhossam
Copy link

I'm getting an error
Uncaught TypeError: year.calendar is not a function
at GregorianCalendar._validate (jquery.calendars.js:747)
at GregorianCalendar.newDate (jquery.calendars.js:429)
at GregorianCalendar.fromJSDate (jquery.calendars.js:966)
at GregorianCalendar.today (jquery.calendars.js:443)
at d.setDate (jquery.calendars.picker.js:1370)
at d._attachments (jquery.calendars.picker.js:683)
at d._postAttach (jquery.calendars.picker.js:623)
at d._postAttach (....\src\js\jquery.plugin.js:37)
at d._attach (....\src\js\jquery.plugin.js:198)
at HTMLInputElement. (....\src\js\jquery.plugin.js:169)

I'm also using daterangepicker
and when I remove it the error is gone so apparently there is a conflict
I also find similar problem on stackoverflow on similar problem
https://stackoverflow.com/questions/43777269/date-js-conflicting-with-the-keith-wood-calendar-picker

so how can I use this picker along with daterangepicker ?

@kbwood
Copy link
Owner

kbwood commented Jan 27, 2019

What is daterangepicker? The calendars picker already provides the ability to choose a date range. Can you provide a page that shows the problem?

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