|
|
@@ -29,11 +29,11 @@ const UserInformationCard_Individual = ({formData,userFile, loadDataFun}) => { |
|
|
|
enName: yup.string().max(255).required('請輸入英文姓名'), |
|
|
|
chName: yup.string().max(255).required('請輸入中文姓名'), |
|
|
|
addressLine1: yup.string().max(255).required('請輸入第一行地址'), |
|
|
|
addressLine2: yup.string().max(255), |
|
|
|
addressLine3: yup.string().max(255), |
|
|
|
addressLine2: yup.string().max(255).nullable(), |
|
|
|
addressLine3: yup.string().max(255).nullable(), |
|
|
|
emailAddress: yup.string().email('請輸入電郵格式').max(255).required('請輸入電郵'), |
|
|
|
identification: yup.string().min(7,"請輸入證件號碼").required('請輸入證件號碼'), |
|
|
|
checkDigit:yup.string().max(1).required('請輸入括號內的數字或字母'), |
|
|
|
checkDigit:yup.string().max(1).required('請輸入括號內的數字或字母').nullable(), |
|
|
|
idDocType: yup.string().max(255).required('請輸入證件類別'), |
|
|
|
tel_countryCode: yup.string().min(3,'請輸入3位數字').required('請輸入國際區號'), |
|
|
|
fax_countryCode: yup.string().min(3,'請輸入3位數字'), |
|
|
|