uat defect 119

This commit is contained in:
2025-01-07 12:02:43 +00:00
parent b0cafb58be
commit c3fcfe60da
4 changed files with 9 additions and 2 deletions
@@ -401,7 +401,10 @@ export const RenderLPACondtionalRadioList = ({
</legend>
{typeof custom.hint != undefined && (
<div id={id + "-hint"} className="govuk-hint">
<div
className="govuk-hint govuk-!-font-size-14"
id={id + "-hint"}
>
{t(custom.hint)}
</div>
)}
+3 -1
View File
@@ -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 (
<ul className="subFieldList">
{fields.map((member, index) => (
@@ -2342,7 +2344,7 @@ const RenderSubFields = ({ fields, meta: { touched, error }, ...custom }) => {
onClick={() => fields.push({})}
>
{subTitle == "owners"
? "Add Owner"
? t("newappeal:new-appeal-add-owner-label")
: t("newappeal:new-appeal-add-tenant-label")}
</button>
)}