mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
(Calendar App) Event form disabling button with pristine.
This commit is contained in:
parent
7c770d6bf0
commit
906799c694
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user