Browse Source

fix component attributes

pull/6351/head
mohamedsalem401 1 year ago
parent
commit
a652a6d968
  1. 4
      packages/core/src/dom_components/model/ComponentDynamicValueListener.ts

4
packages/core/src/dom_components/model/ComponentDynamicValueListener.ts

@ -22,7 +22,9 @@ export class ComponentDynamicValueListener {
static evaluateComponentDef(values: ObjectAny, em: EditorModel) {
const props = DynamicValueWatcher.getStaticValues(values, em);
props.attributes = DynamicValueWatcher.getStaticValues(props.attributes, em);
if (values.attributes) {
props.attributes = DynamicValueWatcher.getStaticValues(values.attributes, em);
}
return props;
}

Loading…
Cancel
Save