mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[DW-1563] Complete button is not present for empty forms (#5269)
* [DW-1563] Complete button is not present for empty forms * [DW-1563] Revert part of the changes * [DW-1563] Remove unnecessary variable declaration
This commit is contained in:
committed by
Eugenio Romano
parent
202764631a
commit
b016bf8167
@@ -300,7 +300,7 @@ export class FormCloudComponent extends FormBaseComponent implements OnChanges,
|
||||
});
|
||||
|
||||
const form = new FormModel(formCloudRepresentationJSON, formValues, this.readOnly);
|
||||
if (!form || !form.fields.length) {
|
||||
if (!form) {
|
||||
form.outcomes = this.getFormDefinitionOutcomes(form);
|
||||
}
|
||||
if (this.fieldValidators && this.fieldValidators.length > 0) {
|
||||
|
Reference in New Issue
Block a user