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:
bymyself
2026-03-24 15:01:08 -07:00
parent cd538c74e4
commit e0e3de237c

View File

@@ -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 = [