diff --git a/src/login/pages/shared/UserProfileFormFields.tsx b/src/login/pages/shared/UserProfileFormFields.tsx index b395c31f..af8bfdf0 100644 --- a/src/login/pages/shared/UserProfileFormFields.tsx +++ b/src/login/pages/shared/UserProfileFormFields.tsx @@ -80,7 +80,6 @@ export function UserProfileFormFields(props: UserProfileFormFieldsProps) { i18n={i18n} /> )} -
)} {displayableErrors.length !== 0 && ( - - {displayableErrors.map(({ errorMessage }, i, arr) => ( - <> - {errorMessage} - {arr.length - 1 !== i &&
} - - ))} -
+ )} {attribute.annotations.inputHelperTextAfter !== undefined && index === 0 && (
+ {displayableErrors.map(({ errorMessage }, i, arr) => ( + <> + {errorMessage} + {arr.length - 1 !== i &&
} + + ))} + + ); +} + function AddRemoveButtonsMultiValuedAttribute(props: { formFieldStates: FormFieldState[]; attribute: Attribute;