Skip to content

Commit

Permalink
set input type and mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Jun 22, 2024
1 parent df34588 commit 474d453
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ui/phone-number-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ const InputComponent = React.forwardRef<HTMLInputElement, InputProps>(
({ className, ...props }, ref) => (
<Input
className={cn("rounded-e-lg rounded-s-none", className)}
type="tel"
inputMode="tel"
{...props}
ref={ref}
/>
Expand Down

0 comments on commit 474d453

Please sign in to comment.