utils.downloadPage() not handling overflow in textfield

Hi.
We are creating a report that as a last button gets exported as a pdf by using utils.downloadPage. Seems to work just fine, except for the textfield.

The issue is that there is no line break in the textfield in the pdf when the sentence is longer than the textfield. This is the same if I manually enter a line break. Everything is one long line.

Example from the report:

Example from the pdf:

Is there any suggestions to what I'm doing wrong, or is it a bug?

Hello @Christoffer_Astad_Sve!

Apologies for the inconvenience, this looks to be a bug, it seems you did everything right.

Most likely somewhere in our util actions the new line characters are getting sanitized out when they should not be.

I will reproduce this and send a bug report to our eng team, will keep you posted on any workarounds they have and/or process on fixing the bug :saluting_face:

2 Likes