diff --git a/ext/js/dom/dom-data-binder.js b/ext/js/dom/dom-data-binder.js index 825534678f..c5038dfc67 100644 --- a/ext/js/dom/dom-data-binder.js +++ b/ext/js/dom/dom-data-binder.js @@ -209,10 +209,9 @@ export class DOMDataBinder { * @param {import('dom-data-binder').ElementObserver} observer */ _onObserverChildrenUpdated(element, observer) { - if (!observer.hasValue) { - return; + if (observer.hasValue && this._getNormalizedElementType(element) !== 'element') { + this._setElementValue(element, observer.value); } - this._setElementValue(element, observer.value); } /**