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
Templatemark which is used for creating templates for contracts, provides us with two methods to iterate over lists, olist block (for an ordered list, similarly ulist block for an unordered list) and join block ( a simple implementation of for-loop).
These work fine as long as they are outside a clause block, but when inside the clause,
olist is not returning any result at all
join is returning items in the list but the output is malformatted.
The documentation is not much detailed and it does not contain examples for accessing elements inside a clause block.
I've also checked the source code on how these blocks are parsed, but no such difference is there.
These are the link to relevant files:-
Templatemark which is used for creating templates for contracts, provides us with two methods to iterate over lists, olist block (for an ordered list, similarly ulist block for an unordered list) and join block ( a simple implementation of for-loop).
These work fine as long as they are outside a clause block, but when inside the clause,
The documentation is not much detailed and it does not contain examples for accessing elements inside a clause block.
I've also checked the source code on how these blocks are parsed, but no such difference is there.
These are the link to relevant files:-
Although, hardcoding items using the array index does work, and is implemented in the master branch.
The text was updated successfully, but these errors were encountered: