mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
[fix] Disable serialization for text preview widget (#4004)
This commit is contained in:
@@ -28,7 +28,8 @@ export const useTextPreviewWidget = (
|
|||||||
setValue: (value: string | object) => {
|
setValue: (value: string | object) => {
|
||||||
widgetValue.value = typeof value === 'string' ? value : String(value)
|
widgetValue.value = typeof value === 'string' ? value : String(value)
|
||||||
},
|
},
|
||||||
getMinHeight: () => options.minHeight ?? 42 + PADDING
|
getMinHeight: () => options.minHeight ?? 42 + PADDING,
|
||||||
|
serialize: false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
addWidget(node, widget)
|
addWidget(node, widget)
|
||||||
|
|||||||
Reference in New Issue
Block a user