From d5ad2506590db9048fe1aa4f982676cbc3aa7ac0 Mon Sep 17 00:00:00 2001
From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com>
Date: Fri, 16 Sep 2022 10:05:27 +0200
Subject: [PATCH] fix: reset page validity

---
 src/app/form/form-view/form-view.component.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/form/form-view/form-view.component.ts b/src/app/form/form-view/form-view.component.ts
index 8654ebbc2..e7e262de2 100644
--- a/src/app/form/form-view/form-view.component.ts
+++ b/src/app/form/form-view/form-view.component.ts
@@ -377,6 +377,7 @@ export class FormViewComponent implements OnInit {
   }
   public setCurrentStep(step: stepType): void {
     //THIS PROBABLY CREATES CONSOLE ERRORS NG100 only in dev mode, please refer to https://angular.io/errors/NG0100 for more info
+    this.isPageValid = false;
     this.currentPage = step;
   }
   public async saveEditedStructure() {
-- 
GitLab