fix: declare input_string in Python INPUT_TYPES for Nodes 2.0 compatibility (Issue #12)
This commit is contained in:
@@ -5,6 +5,10 @@ class StringMultiReplaceNode:
|
||||
def INPUT_TYPES(cls):
|
||||
return {
|
||||
"required": {
|
||||
"input_string": ("STRING", {
|
||||
"forceInput": True,
|
||||
"tooltip": "The string to process"
|
||||
}),
|
||||
"replacement_pairs": ("STRING", {"multiline": True, "default": "", "placeholder": "Enter replacement pairs (one per line)",
|
||||
"tooltip": "Enter replacement pairs (one per line). Format: 'search<delimiter>replace'. Default delimiter is ':' (colon)"}),
|
||||
"replacement_delimiter": ("STRING", {"default": "::",
|
||||
|
||||
Reference in New Issue
Block a user