[as] feat: 설계자 전화번호 검증 코드 추가

This commit is contained in:
2026-07-13 14:43:55 +09:00
parent 9d13809d01
commit 399645a80a
3 changed files with 10 additions and 2 deletions
@@ -70,6 +70,8 @@ function ContactInfoFormSection({ fieldPrefix }: ContactInfoFormSectionProps) {
id={field.name}
placeholder="설계자 전화번호"
aria-invalid={fieldState.invalid}
maxLength={13}
onChange={(e) => field.onChange(e.target.value.replace(/[^0-9-]/g, ""))}
/>
<FieldError errors={[fieldState.error]} />
</Field>