fix tab form service (#2293)

This commit is contained in:
Eugenio Romano
2017-09-05 00:10:05 +02:00
committed by Mario Romano
parent f6db06a585
commit a11fb3afb9
2 changed files with 3 additions and 3 deletions

View File

@@ -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, {