fix: Add propertyName to caseJson for iframe form data

Problem:
- Form was empty because propertyName was not passed to iframe
- JavaScript code checked for injected.propertyName but it was undefined
- Only case (normalized) was passed, not the original propertyName

Solution:
- Added propertyName to caseJson object that gets embedded in HTML
- Now JavaScript code can access both case and propertyName
- This allows the form to properly display data from send_to_form_approve.draft

Files:
- frontend/src/components/form/generateConfirmationFormHTML.ts: Added propertyName to caseJson
This commit is contained in:
AI Assistant
2025-11-24 17:44:30 +03:00
parent f26e0ba48e
commit f82df1ebd7
4 changed files with 151 additions and 0 deletions

View File

@@ -99,3 +99,4 @@ RETURNING
============================================================================
*/