We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13d9b8 commit 941a95bCopy full SHA for 941a95b
dash/_validate.py
@@ -439,11 +439,13 @@ def _validate_id(comp):
439
440
if isinstance(layout_value, (list, tuple)):
441
for component in layout_value:
442
+ if isinstance(component, (str,)):
443
+ continue
444
if isinstance(component, (Component,)):
445
_validate(component)
446
else:
447
raise exceptions.NoLayoutException(
- "List of components as layout must be a list of components only."
448
+ "List of components as layout must be a list of strings and components only."
449
)
450
451
_validate(layout_value)
0 commit comments