File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ export const AuthorizerForgotPassword: FC<{
110
110
email_or_phone_number : 'Email OR Phone Number is required' ,
111
111
} ) ;
112
112
} else if (
113
+ formData . email_or_phone_number !== '' &&
113
114
! isEmail ( formData . email_or_phone_number || '' ) &&
114
115
! isMobilePhone ( formData . email_or_phone_number || '' )
115
116
) {
@@ -157,17 +158,17 @@ export const AuthorizerForgotPassword: FC<{
157
158
className = { styles [ 'form-input-label' ] }
158
159
htmlFor = "authorizer-forgot-password-email-or-phone-number"
159
160
>
160
- < span > * </ span > Email
161
+ < span > * </ span > Email / Phone Number
161
162
</ label >
162
163
< input
163
164
name = "email_or_phone_number"
164
- id = "authorizer-forgot-password-email-or-"
165
+ id = "authorizer-forgot-password-email-or-phone-number "
165
166
className = { `${ styles [ 'form-input-field' ] } ${
166
167
errorData . email_or_phone_number
167
168
? styles [ 'input-error-content' ]
168
169
: null
169
170
} `}
170
- placeholder = "eg. foo@bar .com"
171
+ placeholder = "eg. hello@world .com / +919999999999 "
171
172
type = "text"
172
173
value = { formData . email_or_phone_number || '' }
173
174
onChange = { ( e ) =>
You can’t perform that action at this time.
0 commit comments