From 906799c69457c6be58a3cbf9cf58dd37752a931b Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Wed, 26 Jul 2017 13:38:58 +0300 Subject: [PATCH] (Calendar App) Event form disabling button with pristine. --- src/app/main/apps/calendar/event-form/event-form.component.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/main/apps/calendar/event-form/event-form.component.html b/src/app/main/apps/calendar/event-form/event-form.component.html index ab1141a2..b3396e26 100644 --- a/src/app/main/apps/calendar/event-form/event-form.component.html +++ b/src/app/main/apps/calendar/event-form/event-form.component.html @@ -115,6 +115,7 @@ md-raised-button (click)="dialogRef.close(eventForm)" class="save-button mat-accent" + [disabled]="eventForm.pristine" aria-label="SAVE"> SAVE @@ -123,6 +124,7 @@ md-raised-button (click)="dialogRef.close(['save',eventForm])" class="save-button mat-accent" + [disabled]="eventForm.pristine" aria-label="SAVE"> SAVE