diff --git a/lib/components.js b/lib/components.js index ad5c1112a..5e05d10cc 100644 --- a/lib/components.js +++ b/lib/components.js @@ -100,6 +100,8 @@ function setAttributes(context, model) { ); if (segments) { model.root.ref(model._at + '.' + key, segments.join('.')); + } else if (attribute instanceof templates.ParentWrapper) { + model.set(key, expressions.renderValue(attribute, context)); } else { model.set(key, attribute); }