Skip to content

Commit

Permalink
Submit Button Change
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitrali-r committed Aug 22, 2023
1 parent 0efd1dd commit 490a3be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion donor-registry/src/app/forms/forms.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export class FormsComponent implements OnInit {
eSignWindowClosed: boolean = false;
dateofBirth: any = null;
esignSuccess: boolean = false;
count: number = 0;

ngAfterViewChecked() {
this.cdr.detectChanges();
Expand Down Expand Up @@ -781,7 +782,11 @@ export class FormsComponent implements OnInit {
}

onFormChange() {
this.isFormEdited = true;
if (this.count != 0) {
this.isFormEdited = true;
} else {
this.count++;
}
}

loadSchema() {
Expand Down

0 comments on commit 490a3be

Please sign in to comment.