From 80f979ac05c08e0efb0df3f64296a4a2f8bb8082 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Fri, 28 Aug 2026 15:35:19 +0200 Subject: [PATCH] Add data-role to prop_label and prop_value --- application/forms.class.inc.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php index 8ae199749a..00982dfbe7 100644 --- a/application/forms.class.inc.php +++ b/application/forms.class.inc.php @@ -227,9 +227,12 @@ class DesignerForm 'raw-value' => $oField->GetRawValue(), ]; if (is_null($aRow['label'])) { - $sReturn .= $this->StartRow($sFieldId, $aPropertyFieldData).''.$aRow['value']; + $sReturn .= $this->StartRow($sFieldId, $aPropertyFieldData). + ''.$aRow['value']; } else { - $sReturn .= $this->StartRow($sFieldId, $aPropertyFieldData).''.$aRow['label'].''.$aRow['value']; + $sReturn .= $this->StartRow($sFieldId, $aPropertyFieldData). + ''.$aRow['label']. + ''.$aRow['value']; } if (!($oField instanceof DesignerFormSelectorField) && !($oField instanceof DesignerMultipleSubFormField)) { $sReturn .= $sValidationFields;