Browse Source

Prevent hideWidget being called twice for same widget

Fix for #2766
pull/2767/head
chrisgoringe 9 months ago committed by GitHub
parent
commit
cf4910a3a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      web/extensions/core/widgetInputs.js

1
web/extensions/core/widgetInputs.js

@ -22,6 +22,7 @@ function isConvertableWidget(widget, config) {
}
function hideWidget(node, widget, suffix = "") {
if (widget.type?.startsWith(CONVERTED_TYPE)) return;
widget.origType = widget.type;
widget.origComputeSize = widget.computeSize;
widget.origSerializeValue = widget.serializeValue;

Loading…
Cancel
Save