pass nodeId to widget component (#5853)

## Summary

pass nodeId to widget component, which is a prerequirist for
https://github.com/Comfy-Org/ComfyUI_frontend/pull/5765

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5853-pass-nodeData-to-widget-component-27e6d73d3650811e9e48ceb7c3a00545)
by [Unito](https://www.unito.io)
This commit is contained in:
Terry Jia
2025-10-01 21:31:49 -04:00
committed by GitHub
parent bf9659fb2c
commit 20731fe3f0

View File

@@ -45,6 +45,7 @@
:widget="widget.simplified"
:model-value="widget.value"
:readonly="readonly"
:node-id="nodeData?.id != null ? String(nodeData.id) : ''"
class="flex-1"
@update:model-value="widget.updateHandler"
/>