Skip to content

Commit 4ff9132

Browse files
committed
fix: 고객 정보에 해외 전화번호도 받을 수 있도록 수정
1 parent c7c1f8b commit 4ff9132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shop/src/components/common/customer_info_form_dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const CustomerInfoFormDialog: React.FC<CustomerInfoFormDialogPropsType> =
6363
defaultValue={defaultValue?.phone}
6464
slotProps={{
6565
htmlInput: {
66-
pattern: new RegExp(/^(010-\d{4}-\d{4}|(\+82)10\d{7,8})$/, "i").source,
66+
pattern: new RegExp(/^((010-\d{4}-\d{4})|(\+\d{11,14}))$/, "i").source,
6767
title: phoneValidationFailedStr,
6868
},
6969
}}

0 commit comments

Comments
 (0)