We have a form that defines a custom PDF layout. When the user submits the form, most of the components in that pdf layout become hidden although none of the components in the layout file have set the hidden property.
Here is the PDF layout generated with DevTools just before clicking "Send inn".
And here is the PDF that is actually generated after submitting the form.
All components that are of type Summary, are hidden.
Description of the bug
We have a form that defines a custom PDF layout. When the user submits the form, most of the components in that pdf layout become hidden although none of the components in the layout file have set the hidden property.
Here is the PDF layout generated with DevTools just before clicking "Send inn".
And here is the PDF that is actually generated after submitting the form.
All components that are of type Summary, are hidden.
Steps To Reproduce
dotnet run
in./src/Digdir.Dgm.Gravferden.Api.Fake
anddotnet run
in a separate command line window in./App
Additional Information
If you want to test this locally with the latest version of the frontend, you need to remove the
JsonEnumConverter
option on line 84-86 inProgram.cs