Skip to content

Commit a2ff8da

Browse files
committed
feat: update input type
1 parent c6865c0 commit a2ff8da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ const ReactInputVerificationCode = ({
255255
onPaste={(event) => onInputPaste(event, i)}
256256
placeholder={placeholder}
257257
ref={ref}
258+
type={type === 'number' ? 'tel' : 'text'}
258259
value={values[i]}
259260
{...inputProps}
260261
/>

0 commit comments

Comments
 (0)