misc: maintain block prefilling data with references to row index (#75162)
gitea/wcs/pipeline/head This commit looks good Details

This commit is contained in:
Frédéric Péters 2024-04-14 11:57:40 +02:00
parent cd12d4ea1b
commit 2590ea3b7e
1 changed files with 3 additions and 0 deletions

View File

@ -472,6 +472,9 @@ class FormPage(Directory, TempfileDirectoryMixin, FormTemplateMixin):
prefilled = False
locked = False
if block:
field_key = f'{block.id}${block_idx}${field_key}'
if field.get_prefill_configuration():
prefill_user = get_request().user
if get_request().is_in_backoffice():