Added checks for non-dirty forms when saving/adding.

This commit is contained in:
Tom
2025-04-02 16:35:41 +00:00
parent 1e6690ff4b
commit fcf1e9ac03
10 changed files with 10 additions and 10 deletions

View File

@@ -259,7 +259,7 @@ export class ActionItemEditComponent implements OnInit {
}
save(): void {
if (this.formGroup.invalid || this.waitForResponse) {
if (!this.formGroup.dirty || this.formGroup.invalid || this.waitForResponse) {
return;
}