From fcc233e5782b6a0d878211de2c81dae839d3827e Mon Sep 17 00:00:00 2001
From: "mathias.chouet" <mathias.chouet@irstea.fr>
Date: Fri, 1 Mar 2019 15:27:32 +0100
Subject: [PATCH] Update fix #145

---
 src/app/components/param-computed/param-computed.component.html | 2 +-
 src/app/components/param-values/param-values.component.html     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/components/param-computed/param-computed.component.html b/src/app/components/param-computed/param-computed.component.html
index eb582f98d..ee50ccaaf 100644
--- a/src/app/components/param-computed/param-computed.component.html
+++ b/src/app/components/param-computed/param-computed.component.html
@@ -1,7 +1,7 @@
 <!-- a fake input bound to nothing, for the sake of UI consistency -->
 <mat-form-field>
     <input matInput disabled [id]="inputId" class="form-control" type="text" [ngModel]="infoText" [placeholder]="param.title">
-    <button *ngIf="isDicho" mat-icon-button class="param-computed-more" (click)="openDialog()">
+    <button type="button" *ngIf="isDicho" mat-icon-button class="param-computed-more" (click)="openDialog()">
         <mat-icon>more_horiz</mat-icon>
     </button>
 </mat-form-field>
diff --git a/src/app/components/param-values/param-values.component.html b/src/app/components/param-values/param-values.component.html
index 37cda318b..171010493 100644
--- a/src/app/components/param-values/param-values.component.html
+++ b/src/app/components/param-values/param-values.component.html
@@ -1,7 +1,7 @@
 <!-- a fake input bound to nothing, for the sake of UI consistency -->
 <mat-form-field>
     <input matInput disabled class="form-control" type="text" [ngModel]="infoText" [placeholder]="param.title">
-    <button mat-icon-button class="param-values-more" (click)="openDialog()">
+    <button type="button" mat-icon-button class="param-values-more" (click)="openDialog()">
         <mat-icon>more_horiz</mat-icon>
     </button>
 </mat-form-field>
-- 
GitLab