Skip to content

Commit 0b138fa

Browse files
author
Nishikant Parmar
committed
Remove component_name fix from param
1 parent 2f5e7bf commit 0b138fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panel/param.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ def widget(self, p_name):
480480
)
481481
kw.update(kw_widget)
482482

483-
kwargs = {k: v for k, v in kw.items() if k in widget_class.param or k == 'component_name'}
483+
kwargs = {k: v for k, v in kw.items() if k in widget_class.param}
484484

485485
if isinstance(widget_class, type) and issubclass(widget_class, Button):
486486
kwargs.pop('value', None)

0 commit comments

Comments
 (0)