mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix tab form service (#2293)
This commit is contained in:
committed by
Mario Romano
parent
f6db06a585
commit
a11fb3afb9
@@ -82,7 +82,7 @@ export class FormService {
|
||||
|
||||
parseForm(json: any, data?: FormValues, readOnly: boolean = false): FormModel {
|
||||
if (json) {
|
||||
let form = new FormModel(json, data, readOnly, this);
|
||||
let form = new FormModel(json.formDefinition, data, readOnly, this);
|
||||
if (!json.fields) {
|
||||
form.outcomes = [
|
||||
new FormOutcomeModel(form, {
|
||||
|
Reference in New Issue
Block a user