From b671dbac192e3f1c4a0b886061d6c187a442b354 Mon Sep 17 00:00:00 2001 From: prafull-opensignlabs Date: Thu, 15 May 2025 11:17:30 +0000 Subject: [PATCH] v2.21.1 fix: handle undefined placeholders condition --- apps/OpenSign/src/constant/Utils.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/OpenSign/src/constant/Utils.jsx b/apps/OpenSign/src/constant/Utils.jsx index 5f45edd474..7de91ec43b 100644 --- a/apps/OpenSign/src/constant/Utils.jsx +++ b/apps/OpenSign/src/constant/Utils.jsx @@ -3081,9 +3081,9 @@ export const updateDateWidgetsRes = (documentData, signerId, journey) => { if (item?.signerObjId === signerId) { return { ...item, - placeHolder: item.placeHolder.map((ph) => ({ + placeHolder: item?.placeHolder?.map((ph) => ({ ...ph, - pos: ph.pos.map((widget) => { + pos: ph?.pos?.map((widget) => { // only for date widgets *and* missing response if (widget.type === "date" && !widget.options.response) { return {