From bb63ea7639c08ef689c0a6a70e9f6898e0f77720 Mon Sep 17 00:00:00 2001 From: leejeongho Date: Sat, 14 Sep 2024 01:56:58 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=83=9D=EB=85=84=EC=9B=94=EC=9D=BC=20v?= =?UTF-8?q?alidation=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/get-user-info/components/Form/BasicInfoForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-domains/src/user/features/get-user-info/components/Form/BasicInfoForm.tsx b/packages/web-domains/src/user/features/get-user-info/components/Form/BasicInfoForm.tsx index 93793f2e..7261d28d 100644 --- a/packages/web-domains/src/user/features/get-user-info/components/Form/BasicInfoForm.tsx +++ b/packages/web-domains/src/user/features/get-user-info/components/Form/BasicInfoForm.tsx @@ -67,7 +67,7 @@ export const BasicInfoForm = () => { required: true, maxLength: 8, pattern: { - value: /^\d{8}$/, + value: /^(19[0-9][0-9]|20\d{2})(0[0-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])$/, message: '생년월일 8자리를 입력해주세요', }, })}