mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
fix: allow STRING input connections for AUTOCOMPLETE_TEXT_PROMPT widgets
Use union type "AUTOCOMPLETE_TEXT_PROMPT,STRING" to enable input mode compatibility with STRING outputs while preserving autocomplete widget functionality via widgetType option. Fixes issue where text inputs could not receive connections from STRING-type outputs after changing from built-in STRING to custom AUTOCOMPLETE_TEXT_PROMPT type. Affected nodes: - Prompt (LoraManager) - Text (LoraManager)
This commit is contained in:
@@ -12,8 +12,9 @@ class TextLM:
|
||||
return {
|
||||
"required": {
|
||||
"text": (
|
||||
"AUTOCOMPLETE_TEXT_PROMPT",
|
||||
"AUTOCOMPLETE_TEXT_PROMPT,STRING",
|
||||
{
|
||||
"widgetType": "AUTOCOMPLETE_TEXT_PROMPT",
|
||||
"placeholder": "Enter text... /char, /artist for quick tag search",
|
||||
"tooltip": "The text output.",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user