Skip to content

Issue 878 - phone number formatted for US in settings form#2125

Merged
rmroot merged 1 commit intodevelopfrom
issue-878
Nov 3, 2025
Merged

Issue 878 - phone number formatted for US in settings form#2125
rmroot merged 1 commit intodevelopfrom
issue-878

Conversation

@jamlokim
Copy link
Copy Markdown
Contributor

connects #878

This pull request updates the phone number input handling in the GeneralInformationFormComponent to improve user experience and data consistency, especially for US phone numbers. The main changes include adding phone number formatting logic and adjusting input constraints.

Phone input improvements:

  • Added a new formatPhone method in general-information-form.component.ts to automatically format US phone numbers as the user types, inserting dashes after the third and sixth digits and restricting the length to 12 characters.
  • Updated the phone number input field in general-information-form.component.html to use the new formatPhone method on input events, and increased the maximum allowed length from 10 to 12 characters.

@jamlokim jamlokim requested a review from rmroot October 27, 2025 15:41
@rmroot rmroot merged commit 0add62c into develop Nov 3, 2025
3 checks passed
@jamlokim jamlokim deleted the issue-878 branch January 12, 2026 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants