From e52e5872d7f05ad3857f46723fd2639a00b543a0 Mon Sep 17 00:00:00 2001 From: UrzasLegacy <95994251+UrzasLegacy@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:56:10 -0400 Subject: [PATCH] Add spellcheck option to Multiline widget and set false by default --- web/scripts/widgets.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/scripts/widgets.js b/web/scripts/widgets.js index 6a6899705..797a08a94 100644 --- a/web/scripts/widgets.js +++ b/web/scripts/widgets.js @@ -245,6 +245,7 @@ function addMultilineWidget(node, name, opts, app) { inputEl.className = "comfy-multiline-input"; inputEl.value = opts.defaultVal; inputEl.placeholder = opts.placeholder || name; + inputEl.spellcheck = opts.spellcheck || false; const widget = node.addDOMWidget(name, "customtext", inputEl, { getValue() {