Skip to content

Commit

Permalink
fix after saving in monaco editor (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbritense authored May 14, 2024
1 parent c33f5ea commit 106904f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,13 @@ export class FormManagementEditComponent
return;
}

const parsedDefinition = JSON.parse(value);

this.modifiedFormDefinition = parsedDefinition;

this._formDefinition$.next({
...definition,
formDefinition: JSON.parse(value),
formDefinition: parsedDefinition,
});
}

Expand Down

0 comments on commit 106904f

Please sign in to comment.