- All threshold use same error msg

- Display one common error msg at bottom
for any field with error
- Hide individual field error for threshold input
This commit is contained in:
Shemy Gan committed 2024-11-11 20:10:49 -05:00
1 parent d5c51482f7
commit 11d71060b2
3 files changed
+64 -27

No files matched your search

+2 -1
View File
@@ -186,10 +186,11 @@ const Field = forwardRef(
),
}}
/>
{error && (
{ error && (
<Typography
component="span"
className="input-error"
hidden={className? true: false}
color={theme.palette.error.text}
mt={theme.spacing(2)}
sx={{