File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/common/components/Forms Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,11 @@ function SignupForm({
66
66
email : Yup . string ( )
67
67
. matches ( emailRe , t ( 'validators.invalid-email' ) )
68
68
. required ( t ( 'validators.email-required' ) ) ,
69
- phone : Yup . string ( )
70
- . required ( t ( 'validators.invalid-phone' ) ) ,
69
+ phone : Yup . string ( ) ,
70
+ // .matches(phone, t('validators.invalid-phone')),
71
+ // confirm_email: Yup.string()
72
+ // .oneOf([Yup.ref('email'), null], t('validators.confirm-email-not-match'))
73
+ // .required(t('validators.confirm-email-required')),
71
74
} ) ;
72
75
73
76
const handleSubmit = async ( actions , allValues ) => {
@@ -233,7 +236,7 @@ function SignupForm({
233
236
setVal = { setFormProps }
234
237
placeholder = { t ( 'common:phone' ) }
235
238
formData = { formProps }
236
- required
239
+ required = { false }
237
240
/>
238
241
{ t ( 'phone-info' ) }
239
242
</ Box >
You can’t perform that action at this time.
0 commit comments