mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-19 07:57:09 +00:00
(Calendar App) Event form disabling button with pristine.
This commit is contained in:
@@ -115,6 +115,7 @@
|
|||||||
md-raised-button
|
md-raised-button
|
||||||
(click)="dialogRef.close(eventForm)"
|
(click)="dialogRef.close(eventForm)"
|
||||||
class="save-button mat-accent"
|
class="save-button mat-accent"
|
||||||
|
[disabled]="eventForm.pristine"
|
||||||
aria-label="SAVE">
|
aria-label="SAVE">
|
||||||
SAVE
|
SAVE
|
||||||
</button>
|
</button>
|
||||||
@@ -123,6 +124,7 @@
|
|||||||
md-raised-button
|
md-raised-button
|
||||||
(click)="dialogRef.close(['save',eventForm])"
|
(click)="dialogRef.close(['save',eventForm])"
|
||||||
class="save-button mat-accent"
|
class="save-button mat-accent"
|
||||||
|
[disabled]="eventForm.pristine"
|
||||||
aria-label="SAVE">
|
aria-label="SAVE">
|
||||||
SAVE
|
SAVE
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user