From 849ac8b6be84b59107869a761e2b74361434712b Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 11 Sep 2023 16:10:10 +1000 Subject: [PATCH] Revert "don't try to rehide defaultInput widget" This reverts commit c8590fbe09314dd60fd984f853d14f1dc5a2ae8a. --- web/extensions/core/widgetInputs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/extensions/core/widgetInputs.js b/web/extensions/core/widgetInputs.js index c2c7c9f55..09179a57b 100644 --- a/web/extensions/core/widgetInputs.js +++ b/web/extensions/core/widgetInputs.js @@ -158,10 +158,10 @@ app.registerExtension({ if (this.inputs) { for (const input of this.inputs) { - if (input.widget && !input.widget.config[1]?.forceInput) { + if (input.widget && !input.widget.config[1]?.forceInput && !input.widget.config[1]?.defaultInput) { const w = this.widgets.find((w) => w.name === input.widget.name); if (w) { - if (!input.widget.config[1]?.defaultInput) hideWidget(this, w); + hideWidget(this, w); } else { convertToWidget(this, input) }