Merge pull request #2239 from sonvir249/bug/fix-form-errors

Issue-2238: Fixes the error messages on various forms.
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-05-13 09:47:50 -07:00
commit fcbc69b04a
3 files changed
+14 -3

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ const ForgotPassword = () => {
value={form.email}
onChange={handleChange}
error={errors.email ? true : false}
helperText={errors.email}
helperText={t(errors.email)}
/>
<Button
variant="contained"
@@ -71,7 +71,7 @@ function StepTwo({ form, errors, onSubmit, onChange, onBack }) {
helperText={errors.email && (
errors.email.includes("required") ? t("authRegisterEmailRequired") :
errors.email.includes("valid email") ? t("authRegisterEmailInvalid") :
errors.email
t(errors.email)
)}
ref={inputRef}
/>