Skip to content

Commit

Permalink
feat: inputmode 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeseungyun committed Sep 11, 2024
1 parent bf6ea8e commit ca15101
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/page/Auth/FindPassword/Verify/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default function Verify() {
})}
maxLength={11}
type="text"
inputMode="numeric"
placeholder="-없이 번호를 입력해주세요."
/>
<button
Expand Down Expand Up @@ -145,6 +146,7 @@ export default function Verify() {
},
})}
type="text"
inputMode="numeric"
placeholder="인증번호를 입력해주세요."
maxLength={6}
/>
Expand Down
1 change: 1 addition & 0 deletions src/page/Auth/Login/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default function Login() {
[styles['form__input--error']]: isError,
})}
type="text"
inputMode="numeric"
placeholder={isMobile ? '휴대폰번호' : '휴대폰 번호를 입력하세요'}
{...register('account')}
/>
Expand Down
4 changes: 4 additions & 0 deletions src/page/Auth/Signup/components/phoneStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ export default function PhoneStep({ setIsStepComplete }: PhoneStepProps) {
[styles['error-border']]: !!errors.phone_number,
})}
placeholder="-없이 번호를 입력해주세요."
type="text"
inputMode="numeric"
/>
<button
type="button"
Expand Down Expand Up @@ -197,6 +199,8 @@ export default function PhoneStep({ setIsStepComplete }: PhoneStepProps) {
})}
placeholder="인증번호를 입력해주세요."
maxLength={6}
type="text"
inputMode="numeric"
/>
<button
type="button"
Expand Down

0 comments on commit ca15101

Please sign in to comment.