Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for RepeatContent within RepeatContent (or ListContent) #60

Open
biohazardxxx opened this issue Aug 9, 2019 · 0 comments
Open

Comments

@biohazardxxx
Copy link

biohazardxxx commented Aug 9, 2019

Adding a RepeatContent to a RepeatContent does not work.
It would be helpful to create a nested structure of text.
image
(n products, have n patches with n changes)
Otherwise nested ListContent would be an alternative to have nested ListContent blocks .

something like:

var valuesToFill = new Content(new RepeatContent("RepeatParentContent")
.AddItem(new FieldContent("Title", "Tests"),
new RepeatContent("RepeatChildrenContent", new FieldContent("SubTest", "WORKS!!!!"))
.AddItem(new RepeatContent("RepeatChildrenContent", new FieldContent("SubTest", "WORKS also!!!!")))
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant