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,
|
||||
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}
|
||||
|
||||
Reference in New Issue
Block a user