Merged PR 2280: fix in place for app error

fix in place for app error

Related work items: #22834
This commit is contained in:
Robert Bond
2026-04-28 15:48:32 +00:00
parent a25ab433a6
commit 421adafca3
+4 -4
View File
@@ -375,8 +375,8 @@ let BuildSection = (props) => {
doc,
whichField
);
return errorFieldLabel[0].value;
// console.log(errorFieldLabel[0]?.value);
return errorFieldLabel[0]?.value;
};
let errorItems = [];
@@ -405,10 +405,10 @@ let BuildSection = (props) => {
<div className="govuk-grid-column-two-thirds wgForm ">
<SectionHeader title={FieldsTranslations(titles[0].value)} />
<form onSubmit={handleSubmit(onHandleSubmit)}>
<ErrorSummary
{/* <ErrorSummary
hasErrors={hasErrors == true}
errorItems={getErrorItems()}
/>
/> */}
<BuildRow
rowXML={rowXML}
whichSection={props.whichSection}