Unverified Commit 68afeb78 authored by Benjamin Parisel's avatar Benjamin Parisel Committed by GitHub
Browse files

feat(jsonVariable): Define and use json variable (#121)

* Allow using json variable in interpolation or variable binding
* Update bonita/ui-designer-context-binding to 0.0.11

Covers [UID-553](https://bonitasoft.atlassian.net/browse/UID-553)
parent 7a67583e
......@@ -17,7 +17,7 @@
"@angular/platform-browser": "~12.0.3",
"@angular/platform-browser-dynamic": "~12.0.3",
"@angular/router": "~12.0.3",
"@bonitasoft/ui-designer-context-binding": "0.0.9",
"@bonitasoft/ui-designer-context-binding": "0.0.11",
"rxjs": "~6.6.0",
"tslib": "^2.1.0",
"zone.js": "~0.11.4"
......
......@@ -29,12 +29,12 @@ export class uidModel implements OnInit {
this.modelCtrl.fillVariableAccessors(new Map(Object.entries(uidVariables)));
this.variablesAccessors = {
$implicit: this.modelCtrl.getVariableAccessors(),
$implicit: this.modelCtrl.variableAccessors,
};
this.viewContainerRef.createEmbeddedView(this.templateRef, this.variablesAccessors);
}
getVariableAccessors() {
return this.modelCtrl.getVariableAccessors();
return this.modelCtrl.variableAccessors;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment