Remove record and field on widget display call
changeset fb74e8d64b9d missed to remove it from Form.reset issue8107
This commit is contained in:
1 parent
d3ab928971
commit
11ba44a3dc
1 file changed
+1
-1
@@ -505,7 +505,7 @@ class ViewForm(View):
|
||||
if field and 'invalid' in field.get_state_attrs(record):
|
||||
for widget in widgets:
|
||||
field.get_state_attrs(record)['invalid'] = False
|
||||
widget.display(record, field)
|
||||
widget.display()
|
||||
|
||||
def display(self):
|
||||
record = self.screen.current_record
|
||||
|
||||
Reference in new issue
Block a user