mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-4479][ACA-4480] - Enable Save button when the form is invalid (#7131)
* [ACA-4479][ACA-4480] - Enable Save button when the form is invalid * Add a unit test for form cloud * Fix e2e
This commit is contained in:
@@ -123,7 +123,7 @@ export abstract class FormBaseComponent {
|
||||
|
||||
if (outcome) {
|
||||
if (outcome.name === FormOutcomeModel.SAVE_ACTION) {
|
||||
return this.disableSaveButton ? false : this.form.isValid;
|
||||
return !this.disableSaveButton;
|
||||
}
|
||||
if (outcome.name === FormOutcomeModel.COMPLETE_ACTION) {
|
||||
return this.disableCompleteButton ? false : this.form.isValid;
|
||||
|
Reference in New Issue
Block a user