Hi Jakob,
Thank you for using Syncfusion Products.
We are unable to reproduce the issue with flattening the form. We have attached a sample in the link below in which we have created the TextBoxField dynamically, filled with text and set the flatten property to true. Please refer to the sample.
Sample:
97937-1764483826.zipRegards,
Selvakumar.