Open kkrawczyk123 opened 4 years ago
Thanks!
@MartijnR I'd like to try to fix this
Great! You can work on this on screen (instead of creating a PDF) in enketo-core. Enketo Express runs a headless Chrome browser to create a PDF (as in printing from a browser).
To switch to printview do printview(true)
in the console, and to switch back do printView(false)
(these functions are just helper functions for developers working in enketo-core - you can find them in app.js).
It's always good to also check the Grid theme because it's quite different from other themes. To do this:
printGridView(true)
and printGridView(false)
.
Describe the bug When I was testing Central and Enketo integration I have noticed differences between preview and downloaded pdf. It is probably connected to widget types. I will attach screenshots as examples.
To Reproduce I have uses All widgets forms.
Expected behavior I feel like preview mode and downloaded pdf should be as close to each other as possible.
Browser and OS (please complete the following information):