diff --git a/src/features/authentication/components/AuthenticationSteps/LoginRegiserForm.tsx b/src/features/authentication/components/AuthenticationSteps/LoginRegiserForm.tsx index 41ce8c6..db49f56 100644 --- a/src/features/authentication/components/AuthenticationSteps/LoginRegiserForm.tsx +++ b/src/features/authentication/components/AuthenticationSteps/LoginRegiserForm.tsx @@ -76,7 +76,9 @@ export function LoginRegisterForm({ setLoginRegisterValue(newValue); - const strippedValue = newValue.startsWith('+') ? newValue.substring(1) : newValue; + const strippedValue = newValue.startsWith('+') + ? newValue.substring(1) + : newValue; if (isNumeric(strippedValue) && strippedValue.length > 0) { setAuthType('phone'); } else { @@ -147,7 +149,7 @@ export function LoginRegisterForm({ newValue, res.userStatus, res.totalSecondForOtpToExpire, - authType + authType, ); } else { toast({ message: res.message, severity: 'error' }); @@ -191,7 +193,12 @@ export function LoginRegisterForm({ helperText={inputError && t(error || '')} autoFocus slotProps={{ - htmlInput: { dir: 'auto', sx: { lineHeight: 1.5 } }, + htmlInput: { + dir: 'auto', + sx: { lineHeight: 1.5 }, + name: 'username', + autoComplete: 'username', + }, input: { endAdornment: i18n.dir() === 'rtl' && (