Page 1 of 2

Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Sat Nov 10, 2012 4:51 am
by Agon Bina

I am adding the dateselector on Tiggzi and for some reason the app gets stuck when I add it. I.e when I click to open the popup where the date selector is located, the loader is stuck loading and it doesnt open the popup.

I checked the console log, and this is the error:

Uncaught TypeError: Cannot call method 'formatDate' of undefined

Is there any way I could add a date selector besides this? OR how do I fix it? Thanks!


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Sat Nov 10, 2012 9:58 pm
by Agon Bina

This is working now, I dont know how it got fixed but its working after i added other components in my app


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Sat Nov 10, 2012 11:58 pm
by Agon Bina

okay, this is not working again, I mapped the default value of the calendar to my REST service and it stopped again ... this is so frustrating!


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Sun Nov 11, 2012 2:21 am
by maxkatz

You will need to provide more details as to what exactly you did. Are you using a Tiggzi component and/or custom JavaScript? I can't tell you what's wrong by just the error message.


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Sun Nov 11, 2012 2:43 am
by Agon Bina

So this is what I have:

A screen with a button which opens the pop up. Inside the popup I've placed the date selector. Whenever I click on the button which is supposed to load the popup with the date picker in it, it just stops there and keeps loading. In the console log I got the error I've mentioned in my initial post.

I have a REST service which will be taking the date(and some other input fields) and adding them to the database. I am not sure if this will help you to understand whats going on. Whenever I remove the date selector, the button functions just fine, and opens the pop up, but when I add it, it won't work.


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Mon Nov 12, 2012 2:54 am
by Agon Bina

I am still waiting for this ... :(


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Mon Nov 12, 2012 8:32 am
by Maryna Brodina

Hello! We'll test it. What device with what version do you use to test?


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Mon Nov 12, 2012 4:51 pm
by Agon Bina

Anything I test it on does the same ... there must be an error with the formatDate method on the datepicker somewhere.


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Tue Nov 13, 2012 4:44 am
by Agon Bina

Hmmm so this is stopping me from moving forward with my project, it would be great if you can look into this, this has been a problem since the beginning for me, and I'm sure I am not doing anything wrong on my part. It's the datepicker which is causing the problem.


Uncaught TypeError: Cannot call method 'formatDate' of undefined

Posted: Tue Nov 13, 2012 8:39 am
by Maryna Brodina

Hello! I was not able to reproduce it. Please send us your app link (make it public) http://help.gotiggr.com/documentation...