Skip to content

Commit

Permalink
Merge pull request #16 from BradleyDsx/patch-1
Browse files Browse the repository at this point in the history
Fix bug send form
  • Loading branch information
obeone authored Jan 3, 2024
2 parents 8e92da6 + 04810f1 commit c3ab653
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/home/ContactForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,11 @@ const validatePhone = () => {
error.value = '';
return true;
} else if (!phonePattern.test(phone.value)) {
error.value = 'Le téléphone doit contenir uniquement des chiffres, +, ,, . ou un espace.';
error.value = 'Le téléphone doit contenir uniquement des chiffres, +, ,, . ou des espaces.';
return false;
}else{
error.value = '';
return true;
}
};
Expand Down

0 comments on commit c3ab653

Please sign in to comment.