Skip to content

Commit

Permalink
fix: improve phone validation error message
Browse files Browse the repository at this point in the history
  • Loading branch information
devAlisha committed Nov 26, 2023
1 parent 1e5d94a commit 3d7120a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/forms/CustomerForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default function CustomerForm({ isUpdateForm = false }) {
},
{
pattern: validatePhoneNumber,
message: 'Please enter a valid phone number',
},
]}
>
Expand Down

0 comments on commit 3d7120a

Please sign in to comment.