From a99ffc0b16c6dd648a50ffe5904e0712d55c42cc Mon Sep 17 00:00:00 2001 From: anna Date: Mon, 25 Sep 2023 10:50:41 +0800 Subject: [PATCH] update ui --- src/pages/OrganizationDetailPage/OrganizationCard.js | 2 +- src/pages/authentication/auth-forms/AuthLoginCustom.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/OrganizationDetailPage/OrganizationCard.js b/src/pages/OrganizationDetailPage/OrganizationCard.js index f343d03..1e6e129 100644 --- a/src/pages/OrganizationDetailPage/OrganizationCard.js +++ b/src/pages/OrganizationDetailPage/OrganizationCard.js @@ -33,7 +33,7 @@ const OrganizationCard = ({ userData, loadDataFun, id }) => { addressLine3: yup.string().max(255, "length must <= 255"), fax_countryCode: yup.string().min(3, '請輸入國際區號').nullable(), tel_countryCode: yup.string().min(3, '請輸入國際區號'), - phoneNumber: yup.string().min(8).required('請輸入聯絡電話'), + phoneNumber: yup.string().min(8,'請輸入有效聯絡電話').required('請輸入聯絡電話'), faxNumber: yup.string().min(8, '請輸入8位數字').nullable(), brExpiryDate: yup.string().min(8).required('請輸入商業登記證有效日期'), brNo: yup.string().min(8, '請輸入有效商業登記證號碼').max(8, '請輸入有效商業登記證號碼').required('請輸入商業登記證號碼'), diff --git a/src/pages/authentication/auth-forms/AuthLoginCustom.js b/src/pages/authentication/auth-forms/AuthLoginCustom.js index a4c56ff..d2f9f6a 100644 --- a/src/pages/authentication/auth-forms/AuthLoginCustom.js +++ b/src/pages/authentication/auth-forms/AuthLoginCustom.js @@ -184,7 +184,7 @@ const AuthLoginCustom = () => { error={Boolean(formik.touched.username && formik.errors.username)} onBlur={formik.handleBlur} inputProps={{ - maxLength: 20, + maxLength: 50, onKeyDown: (e) => { if (e.key === 'Enter') { e.preventDefault();