[backport core/1.41] fix: restore widget.inputEl backward compatibility for custom nodes (#9760)

Backport of #9759 to `core/1.41`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-9760-backport-core-1-41-fix-restore-widget-inputEl-backward-compatibility-for-custom-nodes-3216d73d3650812681aad2b14c2640be)
by [Unito](https://www.unito.io)

Co-authored-by: Dante <bunggl@naver.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Comfy Org PR Bot
2026-03-12 09:55:13 +09:00
committed by GitHub
parent d2e1993c8f
commit 5397017e49

View File

@@ -40,6 +40,7 @@ function addMultilineWidget(
})
widget.element = inputEl
widget.inputEl = inputEl
widget.options.minNodeSize = [400, 200]
inputEl.addEventListener('input', (event) => {