would this fix it? no clue
This commit is contained in:
parent
7f1dc7c841
commit
92b1232806
@ -131,7 +131,7 @@ class IterTag(Tag):
|
||||
component = self.render_fn(arg, index)
|
||||
|
||||
# Nested foreach components or cond must be wrapped in fragments.
|
||||
if isinstance(component, (Foreach, Cond)):
|
||||
if isinstance(component, (Foreach, Cond, Var)):
|
||||
component = Fragment.create(component)
|
||||
|
||||
# Set the component key.
|
||||
|
Loading…
Reference in New Issue
Block a user