Merged PR 2280: fix in place for app error
fix in place for app error Related work items: #22834
This commit is contained in:
@@ -375,8 +375,8 @@ let BuildSection = (props) => {
|
|||||||
doc,
|
doc,
|
||||||
whichField
|
whichField
|
||||||
);
|
);
|
||||||
|
// console.log(errorFieldLabel[0]?.value);
|
||||||
return errorFieldLabel[0].value;
|
return errorFieldLabel[0]?.value;
|
||||||
};
|
};
|
||||||
|
|
||||||
let errorItems = [];
|
let errorItems = [];
|
||||||
@@ -405,10 +405,10 @@ let BuildSection = (props) => {
|
|||||||
<div className="govuk-grid-column-two-thirds wgForm ">
|
<div className="govuk-grid-column-two-thirds wgForm ">
|
||||||
<SectionHeader title={FieldsTranslations(titles[0].value)} />
|
<SectionHeader title={FieldsTranslations(titles[0].value)} />
|
||||||
<form onSubmit={handleSubmit(onHandleSubmit)}>
|
<form onSubmit={handleSubmit(onHandleSubmit)}>
|
||||||
<ErrorSummary
|
{/* <ErrorSummary
|
||||||
hasErrors={hasErrors == true}
|
hasErrors={hasErrors == true}
|
||||||
errorItems={getErrorItems()}
|
errorItems={getErrorItems()}
|
||||||
/>
|
/> */}
|
||||||
<BuildRow
|
<BuildRow
|
||||||
rowXML={rowXML}
|
rowXML={rowXML}
|
||||||
whichSection={props.whichSection}
|
whichSection={props.whichSection}
|
||||||
|
|||||||
Reference in New Issue
Block a user