How to build a multi-page with a different layout and properties per page? #478
Unanswered
MauriceMarkslag
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am new using the PdfMe package.
I am currently attempting to create a multi-page CV. I am using
BLANK_PDF
as basePdf and I have defined a schema for the front cover. This works as expected.However, now I want to go to the next page (which should have a
BLANK_PDF
too but a completely different layout/schema. I seem not to be able to generate the next page when I want to use another schema.My template looks like this:
My inputs look like this:
When I try to add an object to the inputs array, it only works if I use the same schema as in the first object (so I can basically duplicate the first page). Otherwise I get a TypeError:
cannot read properties of undefined (reading 'startsWith')
in /pdfHelper.js on line 6.Also when I define another schema in the schema's array (which corresponds with the second input item, I get the same error.
What am I missing? Any help would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions