We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1248aa commit bba706dCopy full SHA for bba706d
src/services/decorators.js
@@ -52,7 +52,7 @@ angular.module('schemaForm').provider('schemaFormDecorators',['$compileProvider'
52
var url = templateUrl(name,form);
53
$http.get(url,{ cache: $templateCache }).then(function(res){
54
var key = form.key ? sfPathProvider.stringify(form.key).replace(/"/g, '"') : '';
55
- var template = res.data.replace(/\$\$value\$\$/g,'model'+key);
+ var template = res.data.replace(/\$\$value\$\$/g,'model'+(key[0] !== '['?'.':'')+key);
56
element.html(template);
57
$compile(element.contents())(scope);
58
});
0 commit comments