Skip to content
Snippets Groups Projects
Commit 95ffed17 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: set missing validation form on phone input

parent 5f94c0e5
No related branches found
No related tags found
1 merge request!197v1.12.0
......@@ -179,7 +179,7 @@
type="text"
formControlName="phone"
class="form-input phone"
(input)="utils.modifyPhoneInput(accountForm, 'phone', $event.target.value)"
(input)="utils.modifyPhoneInput(accountForm, 'phone', $event.target.value); setValidationsForm()"
/>
<app-svg-icon
*ngIf="accountForm.get('phone').valid"
......@@ -483,7 +483,7 @@
type="text"
formControlName="contactPhone"
class="form-input"
(input)="utils.modifyPhoneInput(structureForm, 'contactPhone', $event.target.value)"
(input)="utils.modifyPhoneInput(structureForm, 'contactPhone', $event.target.value); setValidationsForm()"
/>
<app-svg-icon
*ngIf="getStructureControl('contactPhone').valid"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment