Skip to content

[Fix] Fix multi-page app with suppress_callback_exceptions=True #3351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -2491,9 +2491,9 @@ def update(pathname_, search_, **states):
_validate.check_for_duplicate_pathnames(_pages.PAGE_REGISTRY)
_validate.validate_registry(_pages.PAGE_REGISTRY)

# Set validation_layout
if not self.config.suppress_callback_exceptions:
layout = self.layout
# Set validation_layout
if not self.config.suppress_callback_exceptions:
layout = self.layout
if not isinstance(layout, list):
layout = [
# pylint: disable=not-callable
Expand Down