Commit 2bdda796 authored by Nicolas Delaby's avatar Nicolas Delaby

Fill in values of subfield in REQUEST after validation, to let...

Fill in values of subfield in REQUEST after validation, to let ParrallelListField retrieve user filled values when Form displays errors.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40377 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2631413b
......@@ -191,6 +191,7 @@ class ParallelListValidator(Validator.MultiSelectionValidator):
if not isinstance(sub_result_list, (list, tuple)):
sub_result_list = [sub_result_list]
result_list.extend(sub_result_list)
REQUEST.form[key] = result_list
return result_list
def validate_sub_field(self, field, id, REQUEST, sub_field_property_dict):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment