Skip to content

Commit

Permalink
Only disable cancel button if form is saving (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
cry-stal-lee authored Dec 16, 2022
1 parent d52531b commit 4f287b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/FormManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class FormManager {
}

public get isCancelButtonDisabled(): boolean {
return this.isFormDisabled;
return this.isSaving;
}

public getDefaultValue(fieldConfig: IFieldConfig): IValue {
Expand Down

0 comments on commit 4f287b0

Please sign in to comment.