From df66d632fe197ea07c86fae86cd2f5deb0f6f82d Mon Sep 17 00:00:00 2001 From: chrisgoringe Date: Wed, 20 Mar 2024 23:34:43 +1100 Subject: [PATCH] Resolve #3092 Don't set a widget value if it hasn't changed, to avoid triggering DOMWidget set callback --- web/extensions/core/groupNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/extensions/core/groupNode.js b/web/extensions/core/groupNode.js index 0b0763d1..09acdc9a 100644 --- a/web/extensions/core/groupNode.js +++ b/web/extensions/core/groupNode.js @@ -1029,7 +1029,7 @@ export class GroupNodeHandler { } const widget = innerNode.widgets?.find((w) => w.name === old.inputName); - if (widget) { + if (widget && widget.value!=newValue) { // avoid DOMWidget callbacks if no change widget.value = newValue; } }