Skip to content

Commit d9d963f

Browse files
committed
Changes exception message when list layout contains a non-string and non-component
1 parent af89e96 commit d9d963f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/_validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def _validate_id(comp):
445445
_validate(component)
446446
else:
447447
raise exceptions.NoLayoutException(
448-
"List of components as layout must be a list of strings and components only."
448+
"Only strings and components are allowed in a list layout."
449449
)
450450
else:
451451
_validate(layout_value)

0 commit comments

Comments
 (0)