From 6e68661ea2225aee49ccfe04e1947456c26ba195 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Thu, 7 Dec 2023 09:29:33 +0100 Subject: [PATCH] Do not resolve widget reference on WidgetFilter widget param --- lumen/filters/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumen/filters/base.py b/lumen/filters/base.py index b4419a509..25eb37e2f 100644 --- a/lumen/filters/base.py +++ b/lumen/filters/base.py @@ -293,7 +293,7 @@ class WidgetFilter(BaseWidgetFilter): e.g. for a numeric value this could be a regular slider or a range slider.""") - widget = param.ClassSelector(class_=pn.widgets.Widget, doc=""" + widget = param.ClassSelector(class_=pn.widgets.Widget, allow_refs=False, doc=""" The widget instance. When declared in a specification a full module path to a Panel widget class can be provided to override the default inferred widget.""")