mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-22 09:56:59 +08:00
Add spellcheck option to Multiline widget and set false by default
This commit is contained in:
parent
c75b50607b
commit
e52e5872d7
@ -245,6 +245,7 @@ function addMultilineWidget(node, name, opts, app) {
|
|||||||
inputEl.className = "comfy-multiline-input";
|
inputEl.className = "comfy-multiline-input";
|
||||||
inputEl.value = opts.defaultVal;
|
inputEl.value = opts.defaultVal;
|
||||||
inputEl.placeholder = opts.placeholder || name;
|
inputEl.placeholder = opts.placeholder || name;
|
||||||
|
inputEl.spellcheck = opts.spellcheck || false;
|
||||||
|
|
||||||
const widget = node.addDOMWidget(name, "customtext", inputEl, {
|
const widget = node.addDOMWidget(name, "customtext", inputEl, {
|
||||||
getValue() {
|
getValue() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user