oops. I introduced the bug in a recent commit (this should not be in 1.81.4). I just fixed it in trunk. Please check. Thanks for reporting the issue.
On Jul 21, 4:23 am, David Marko <[email protected]> wrote: > I have a field definition in table 'task' > Field("hours","double",default=0, writable=False, readable=True, > label='Hours') > > But default value is not set in the form using SQLFORM. In my db file > I must specify 'db.task.hours.default=0' under table definition and it > works as expected. But it was working correctly before, but stopped > working in recent version. Other default values for other field types > are working as expected. > > David

