Skip to content

Commit

Permalink
Fix issue #7532: Disabled for NestedSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
mayonnaisecolouredbenz7 committed Dec 4, 2024
1 parent 4e4c82b commit 0c685ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panel/widgets/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,7 @@ def _init_widget(self, i, options):
value = self._lookup_value(i, options, self.value, error=False)
widget_kwargs["options"] = options
widget_kwargs["value"] = value
widget_kwargs["disabled"] = self.disabled
if "visible" not in widget_kwargs:
# first select widget always visible
widget_kwargs["visible"] = i == 0 or callable(options) or len(options) > 0
Expand Down

0 comments on commit 0c685ad

Please sign in to comment.