BREAKING UPDATE

### MOST RECENT UPDATE 7/21/2025
Please note this most recent update may make the multi-text node forget the titles and text values for your nodes. Please make a backup of your node before updating.
This commit is contained in:
Blueprint Coding
2025-07-21 17:04:17 -06:00
parent b524ae60c1
commit 86d8164b1a
6 changed files with 24 additions and 17 deletions
-1
View File
@@ -11,7 +11,6 @@ class MultiFloatNodeAID:
"max": 3.4e38, # or another large positive float if needed
"step": 0.1, # default step for float
"hide": True,
"forceInput": True,
},
)
for i in range(20)
-1
View File
@@ -11,7 +11,6 @@ class MultiInt:
"max": 2147483647,
"step": 1,
"hide": True, # hidden by default, the JS can show them
"forceInput": True,
},
)
for i in range(20)
+14 -10
View File
@@ -3,15 +3,8 @@ class MultiText:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"separator": ("STRING", {
"default": " ",
"multiline": False,
"hidden": True,
"forceInput": True
}),
"active": ("BOOLEAN", {"default": True, "hidden": True}),
},
"required": {
},
"hidden": {
**{f"enabled{i}": ("BOOLEAN", {"default": True}) for i in range(1, 21)},
**{f"text{i}": ("STRING", {"multiline": True}) for i in range(1, 21)},
@@ -20,7 +13,18 @@ class MultiText:
"min": 0.0,
"max": 2.0,
"step": 0.1
}) for i in range(1, 21)}
}) for i in range(1, 21)},
**{"separator": ("STRING", {
"default": " ",
"multiline": False,
"visible": False,
"widget": "hidden"
})},
**{"active": ("BOOLEAN", {
"default": True,
"visible": False,
"widget": "hidden"
})},
}
}
+3
View File
@@ -1,3 +1,6 @@
### MOST RECENT UPDATE 7/21/2025
Please note this most recent update may make the multi-text node forget the titles and text values for your nodes. Please make a backup of your node before updating.
# ComfyUI_AIDocsClinicalTools
The AI Doctors Custom ComfyUI Nodes
+6 -4
View File
@@ -412,21 +412,23 @@ const MultiTextNode = {
const separator = ComfyWidgets["STRING"](this, "separator", ["STRING", {
default: " ",
visible: false,
forceInput: true
hidden: true,
}], app);
const active = ComfyWidgets["BOOLEAN"](this, "active", ["BOOLEAN", {
default: true,
visible: false
visible: false,
hidden: true,
}], app);
if (separator?.widget) {
separator.widget.computeSize = () => [0, -4];
separator.widget.hidden = true;
separator.widget.computeSize = () => [0, -4];
this.separator = separator;
}
if (active?.widget) {
active.widget.computeSize = () => [0, -4];
active.widget.hidden = true;
active.widget.computeSize = () => [0, -4];
}
this.serialize_widgets = true;
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "The-AI-Doctors-Clinical-Tools"
description = "Nodes: Multi Int and Multi Text; allows for the creation of multiple int, floats and string storage and output from a single node."
version = "1.1.1"
version = "2.0.0"
license = {file = "LICENSE"}
dependencies = []