diff --git a/src/client/widgets/common/widget.mjs b/src/client/widgets/common/widget.mjs index 908728a4..9e6c278b 100644 --- a/src/client/widgets/common/widget.mjs +++ b/src/client/widgets/common/widget.mjs @@ -931,9 +931,12 @@ class Widget extends EventEmitter { if (widget === this && updatedProps.includes(propName)) continue let propValue = this.resolveProp(propName, undefined, false), - oldPropValue = propName == 'value' && options.fromEditor ? this.value : this.getProp(propName) + oldPropValue = this.getProp(propName) - if (!deepEqual(oldPropValue, propValue)) { + if ( + !deepEqual(oldPropValue, propValue) || + (propName == 'value' && options.fromEditor && !deepEqual(oldPropValue, this.value)) + ) { if (!this.isDynamicProp(propName)) { @@ -965,7 +968,6 @@ class Widget extends EventEmitter { } - } }