Commits

Bruno Rocha  committed c3d278c

Solved issue with existing records thanks to sshopov

  • Participants
  • Parent commits 610f29d

Comments (0)

Files changed (1)

File modules/plugin_PowerFormWizard.py

         #self.custom = Storage() # Needed to silence errors, but Custom Forms are not allowed!
 
         # NEEDED TO CREATE A SQLFORM OBJECT HERE TO EXTRACT DOM ELEMENTS, HOW TO DO BETTER?
-        form = SQLFORM(self.table, formstyle=self.formstyle, **attributes)
+        form = SQLFORM(self.table, record=self.record, formstyle=self.formstyle, **attributes)
         
 
         self.p_form = form