From c589c4f85e49d9d30c48e778e9ea08e692544730 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 4 Jan 2025 19:10:06 -0800 Subject: [PATCH] Fixed: Tooltips for detailed error messages --- .../src/Components/Form/FormInputGroup.tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/frontend/src/Components/Form/FormInputGroup.tsx b/frontend/src/Components/Form/FormInputGroup.tsx index 4ed86e8e6..98c6e586a 100644 --- a/frontend/src/Components/Form/FormInputGroup.tsx +++ b/frontend/src/Components/Form/FormInputGroup.tsx @@ -258,14 +258,7 @@ function FormInputGroup(props: FormInputGroupProps) { {helpLink ? {translate('MoreInfo')} : null} {errors.map((error, index) => { - return 'message' in error ? ( - - ) : ( + return 'errorMessage' in error ? ( (props: FormInputGroupProps) { isError={true} isCheckInput={checkInput} /> + ) : ( + ); })} {warnings.map((warning, index) => { - return 'message' in warning ? ( + return 'errorMessage' in warning ? ( ) : (