Skip to content

Commit

Permalink
feat: update phone component type to tel for better user experience t…
Browse files Browse the repository at this point in the history
…ckt-310
  • Loading branch information
Khayal Alasgarov committed Jan 13, 2025
1 parent 0939062 commit cc07eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const PhoneNumberPattern: PatternComponent<PhoneNumberProps> = ({
'usa-input--error': error,
})}
id={phoneId}
type="text"
type="tel"
defaultValue={value}
{...register(phoneId, { required })}
onChange={handlePhoneChange}
Expand Down
2 changes: 1 addition & 1 deletion packages/server/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dist/
.astro/

# database
.db
main.db

# dependencies
node_modules/
Expand Down

0 comments on commit cc07eb7

Please sign in to comment.