AAE-12240: Form save button enable/disable management (#8502)

* AAE-12240: Form save button enable/disable management

* AAE-12240: Code improvement
This commit is contained in:
Ehsan Rezaei
2023-05-03 13:03:08 +02:00
committed by GitHub
parent bcd0b66c96
commit 2d55bbf58a
3 changed files with 32 additions and 1 deletions

View File

@@ -169,6 +169,7 @@ export abstract class FormBaseComponent {
if (outcome.isSystem) {
if (outcome.id === FormBaseComponent.SAVE_OUTCOME_ID) {
this.disableSaveButton = true;
this.saveTaskForm();
return true;
}