Looks like the current plugin code is not compatible with lazy tables. A quick fix is to just move the "requires" assignment into the field definition within the table definition, rather than doing it after the table definition.
Anthony On Wednesday, April 15, 2015 at 5:52:54 PM UTC-4, Alex Glaros wrote: > > ) > #lazy tables breaks this. Need to force the load of the table > self.settings.table_upload.upload.requires = [ > IS_NOT_EMPTY(), > IS_LENGTH(maxsize=self.settings.file_length_max, > minsize=self.settings.file_length_min), ## this is > line #69 > ] > > > def widget(self, field, value, **attributes): > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.