mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 14:30:41 +00:00
fix: exclude getValue/setValue from widget DOM attributes
These internal DOMWidgetOptions callbacks were leaking as HTML attributes on textarea elements, causing getvalue and setvalue attributes with stringified function bodies.
This commit is contained in:
@@ -18,7 +18,9 @@ export const INPUT_EXCLUDED_PROPS = [
|
||||
...STANDARD_EXCLUDED_PROPS,
|
||||
'inputClass',
|
||||
'inputStyle',
|
||||
'read_only'
|
||||
'read_only',
|
||||
'getValue',
|
||||
'setValue'
|
||||
] as const
|
||||
|
||||
export const PANEL_EXCLUDED_PROPS = [
|
||||
|
||||
Reference in New Issue
Block a user