@gov-cy/govcy-express-services 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gov-cy/govcy-express-services",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "An Express-based system that dynamically renders services using @gov-cy/govcy-frontend-renderer and posts data to a submission API.",
5
5
  "author": "DMRID - DSF Team",
6
6
  "license": "MIT",
@@ -164,7 +164,7 @@ export function populateFormData(
164
164
  if (element.element === "radios" && element.params.items) {
165
165
  element.params.items.forEach(item => {
166
166
  if (item.conditionalElements) {
167
- populateFormData(item.conditionalElements, theData, validationErrors, store, siteId, pageUrl, lang, fileInputElements, routeParam);
167
+ populateFormData(item.conditionalElements, theData, validationErrors, store, siteId, pageUrl, lang, fileInputElements, routeParam, mode, index);
168
168
 
169
169
  // Check if any conditional element has an error and add to the parent "conditionalHasErrors": true
170
170
  if (item.conditionalElements.some(condEl => condEl.params?.error)) {