[FIX] web_editor: prevent widgets with no method to auto-update $target
This commit is contained in:
@@ -349,6 +349,10 @@ const UserValueWidget = Widget.extend({
|
||||
* @param {boolean} [previewMode=false]
|
||||
*/
|
||||
_notifyValueChange: function (previewMode) {
|
||||
if (!this._methodsNames.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
const data = {
|
||||
widget: this,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user