Skip to content

Commit

Permalink
Ensure that once instantiated loading_indicator is disconnected from …
Browse files Browse the repository at this point in the history
…default (#6343)
  • Loading branch information
philippjfr authored Feb 14, 2024
1 parent d35ad7a commit 0b18620
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions panel/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,8 @@ class ParamMethod(ReplacementPane):
def __init__(self, object=None, **params):
if 'defer_load' not in params:
params['defer_load'] = config.defer_load
if 'loading_indicator' not in params:
params['loading_indicator'] = ParamMethod.loading_indicator
super().__init__(object, **params)
self._async_task = None
self._evaled = not (self.lazy or self.defer_load)
Expand Down

0 comments on commit 0b18620

Please sign in to comment.