diff --git a/src/app/form/footer-form/footer-form.component.html b/src/app/form/footer-form/footer-form.component.html index c2e91330f1f7027b9dae082ecf2c2467f458b45d..a2d4f21ff57b20eb0bfb39750e17cda3c6b32263 100644 --- a/src/app/form/footer-form/footer-form.component.html +++ b/src/app/form/footer-form/footer-form.component.html @@ -11,6 +11,7 @@ class="btn-primary small next" (click)="goToNextPage()" [disabled]="!isValid" + type="submit" [ngClass]="{ invalid: !isValid }" > <div class="rowBtn" fxLayout="row" fxLayoutAlign="center center"> diff --git a/src/app/form/footer-form/footer-form.component.scss b/src/app/form/footer-form/footer-form.component.scss index 31dbd2f3b7af39cd086d322c272212887e705cac..6ebf95c44d942324b2dd9b9465419bbed1d9d809 100644 --- a/src/app/form/footer-form/footer-form.component.scss +++ b/src/app/form/footer-form/footer-form.component.scss @@ -25,6 +25,6 @@ .chevronRight { height: 24px; width: 24px; - stroke: $white; + stroke: inherit; margin-left: 10px; } diff --git a/src/app/form/form.component.html b/src/app/form/form.component.html index b88d6be4742cbe64af2e503efdf4c887ef6648f5..42e688ad1288d431191706f22e4b148419d940b6 100644 --- a/src/app/form/form.component.html +++ b/src/app/form/form.component.html @@ -105,7 +105,7 @@ </ul> </div> </div> - <form [formGroup]="accountForm" *ngIf="accountForm && !profile"> + <form [formGroup]="accountForm" *ngIf="accountForm && !profile" (keyup.enter)="isPageValid && !isEditMode? nextPage() : null"> <div *ngIf="currentPage == pageTypeEnum.accountInfo" class="page"> <div class="title"> <h3>Qui êtes-vous ?</h3> @@ -241,7 +241,7 @@ </div> </div> </form> - <form [formGroup]="structureForm" *ngIf="structureForm"> + <form [formGroup]="structureForm" *ngIf="structureForm" (keyup.enter)="isPageValid && !isEditMode? nextPage() : null"> <div *ngIf="currentPage == pageTypeEnum.structureNameAndAddress" class="page"> <div class="title"> <h3>Quelle structure voulez-vous réferencer ?</h3>