You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately the output is
one two
two - one two - two
{header_entries} specifies a single loop. This works because the first line in the output is correct. {data_entries} and {data_row} specify an outer and an inner loop. The output of these loops is not correct.
The text was updated successfully, but these errors were encountered:
Agree with @InsiteFX and, while it would be great if someone wanted to tackle that - it's pretty low on my list currently and isn't a priority for 4.0 final.
Then, I think that this should be documented before other people waste their time on trying same things as I did. I will create a new documentation issue.
Describe the bug
The parser is not able to handle nested loops (code and output example below).
CodeIgniter 4 version
CodeIgniter4 Alpha 4
Affected module(s)
Parser
Expected behavior, and steps to reproduce if appropriate
Assume the following template
with these input values and code:
The expected output is:
one two
one - one one - two
two - one two - two
Unfortunately the output is
one two
two - one two - two
{header_entries} specifies a single loop. This works because the first line in the output is correct. {data_entries} and {data_row} specify an outer and an inner loop. The output of these loops is not correct.
The text was updated successfully, but these errors were encountered: