[as] feat: 설계자 전화번호 검증 코드 추가
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user