diff --git a/panel/param.py b/panel/param.py index 42c64956d2..95cd83bda5 100644 --- a/panel/param.py +++ b/panel/param.py @@ -174,7 +174,7 @@ class Param(Pane): usually to update the default Parameter values of the underlying parameterized object.""") - name = param.String(default='', doc=""" + name = param.String(default='', constant=False, doc=""" Title of the pane.""") object = param.Parameter(default=None, allow_refs=False, doc=""" diff --git a/panel/widgets/base.py b/panel/widgets/base.py index 78fcebc790..70dc116a7f 100644 --- a/panel/widgets/base.py +++ b/panel/widgets/base.py @@ -83,7 +83,7 @@ class Widget(Reactive, WidgetBase): disabled = param.Boolean(default=False, doc=""" Whether the widget is disabled.""") - name = param.String(default='') + name = param.String(default='', constant=False) height = param.Integer(default=None, bounds=(0, None)) diff --git a/panel/widgets/indicators.py b/panel/widgets/indicators.py index 59d74f9055..560782f58b 100644 --- a/panel/widgets/indicators.py +++ b/panel/widgets/indicators.py @@ -1143,7 +1143,7 @@ class Trend(SyncableData, Indicator): 'fixed', 'stretch_width', 'stretch_height', 'stretch_both', 'scale_width', 'scale_height', 'scale_both', None]) - name = param.String(doc="""The name or a short description of the card""") + name = param.String(constant=False, doc="""The name or a short description of the card""") value = param.Parameter(default='auto', doc=""" The primary value to be displayed.""") diff --git a/panel/widgets/slider.py b/panel/widgets/slider.py index 6944b79dec..36ea343122 100644 --- a/panel/widgets/slider.py +++ b/panel/widgets/slider.py @@ -52,7 +52,7 @@ class _SliderBase(Widget): Whether the slider should go from left-to-right ('ltr') or right-to-left ('rtl').""") - name = param.String(default=None, doc=""" + name = param.String(default=None, constant=False, doc=""" The name of the widget. Also used as the label of the widget. If not set, the widget has no label.""") diff --git a/panel/widgets/speech_to_text.py b/panel/widgets/speech_to_text.py index da396f37ca..a66ffed97f 100644 --- a/panel/widgets/speech_to_text.py +++ b/panel/widgets/speech_to_text.py @@ -39,7 +39,7 @@ class Language(param.Parameterized): country = param.String(doc="A country like 'United States'") - name = param.String(doc=""" + name = param.String(constant=False, doc=""" The bcp 47 code uniquely identifying the language. For example 'en-US'.""")