Browse Source

Fix attribute watcher

pull/6351/head
mohamedsalem401 2 years ago
parent
commit
05ea1985c0
  1. 2
      packages/core/src/dom_components/model/ComponentDynamicValueListener.ts

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

@ -25,7 +25,7 @@ export class ComponentDynamicValueListener {
private createAttributeUpdater() { private createAttributeUpdater() {
return (key: string, value: any) => { return (key: string, value: any) => {
this.component.setAttributes({ [key]: value }, { skipWatcherUpdates: false }); this.component.addAttributes({ [key]: value }, { skipWatcherUpdates: false });
}; };
} }

Loading…
Cancel
Save