IbrahimNour hai 8 meses
pai
achega
e4d1293a0d

+ 5 - 5
src/app/authentication/auth-sign-up/signup-business/signup-business.component.html

@@ -209,19 +209,19 @@
             fxFlex.lt-md="45"
             fxFlex.gt-sm="31"
           >
-            <label for="last_name">
+            <label for="lastName">
               <img src="assets/images/authorized_name.svg" alt="" title="" />
               <span>Last Name <span class="red">*</span></span>
             </label>
             <input
               type="text"
-              id="last_name"
+              id="lastName"
               placeholder="Last Name"
-              formControlName="last_name"
+              formControlName="lastName"
             />
             <app-error-form
-              [name]="'last_name'"
-              [control]="form.get('companyUser.last_name')!"
+              [name]="'lastName'"
+              [control]="form.get('companyUser.lastName')!"
             ></app-error-form>
           </div>
           <div

+ 1 - 1
src/app/authentication/auth-sign-up/signup-business/signup-business.component.ts

@@ -60,7 +60,7 @@ export class SignupBusinessComponent
 
       companyUser: new UntypedFormGroup({
         firstName: new UntypedFormControl(null, [Validators.required]),
-        last_name: new UntypedFormControl(null, [Validators.required]),
+        lastName: new UntypedFormControl(null, [Validators.required]),
         idNumber: new UntypedFormControl(null, [Validators.required]),
         passportNumber: new UntypedFormControl(null, [Validators.required]),
         phoneNumber: new UntypedFormControl(null, [Validators.required]),