From c3fcfe60dae4473087ff05b31f51273bd7733275 Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Tue, 7 Jan 2025 12:02:43 +0000 Subject: [PATCH] uat defect 119 --- components/case/representation/representationElements.js | 5 ++++- components/elements/index.js | 4 +++- locales/cy/newappeal.json | 1 + locales/en/newappeal.json | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/case/representation/representationElements.js b/components/case/representation/representationElements.js index 504e0928..3e793654 100644 --- a/components/case/representation/representationElements.js +++ b/components/case/representation/representationElements.js @@ -401,7 +401,10 @@ export const RenderLPACondtionalRadioList = ({ {typeof custom.hint != undefined && ( -
+
{t(custom.hint)}
)} diff --git a/components/elements/index.js b/components/elements/index.js index 38b1c199..ebcbbcb2 100644 --- a/components/elements/index.js +++ b/components/elements/index.js @@ -2287,6 +2287,8 @@ const RenderSubFields = ({ fields, meta: { touched, error }, ...custom }) => { const required = (value) => value ? undefined : t("newappeal:is-required-label"); + //fields.push({}); + fields.length == 0 && fields.push({}); return (