Commit 95ffed17 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: set missing validation form on phone input

parent 5f94c0e5
Pipeline #20190 passed with stages
in 4 minutes and 31 seconds
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment