Skip to content
Snippets Groups Projects
Commit 739aae3e authored by Mélissa Aïdli's avatar Mélissa Aïdli
Browse files

Phone number field constraint on type number

parent bba05a43
No related branches found
No related tags found
1 merge request!80New signup
......@@ -34,7 +34,7 @@
<mat-form-field class="full-width">
<input matInput type="tel" minlength="10" maxlength="10" formControlName="phoneNumber" placeholder="Numéro de téléphone" required>
<input matInput type="tel" minlength="10" maxlength="10" pattern="[0-9]{10}" formControlName="phoneNumber" placeholder="Numéro de téléphone" required>
<mat-hint>
Il nous permettra de te contacter en cas de nécessité.
</mat-hint>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment