Search code examples
pythondatetimeweb2py

web2py date & time picker issue


I am trying to get the AJAX / JQUERY UI element in Web2Py for the date time picker to work for my forms from within a smart grid table. It doesn't seem to function as expected in the documentation. I just get a text entry field that doesn't display the picker at all and I can't figure out why. The code I have created the field with is this:

Field('temp_date', type='date', requires = IS_DATE(format=('%d-%m-%Y'))),

I have also tried it without any formatting and I still get the same result. the forms are generated by the Smartgrid when I click the 'edit' button so not sure if that ends to be changed somehow. What am I doing wrong?

Any help is appreciated. Thanks.


Solution

  • I upgraded to the latest build 2.14.6 and it solved the problem. I did the upgrade because the CAS functionality was also broken in the version I was using. Hope this helps others out too.