Add spellcheck option to Multiline widget and set false by default

This commit is contained in:
UrzasLegacy 2024-07-29 16:56:10 -04:00
parent c75b50607b
commit e52e5872d7

View File

@ -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() {