Closed RyanHow closed 1 month ago
Hello, I am currently experiencing the same issue using version "18.1.9".
For example we are downloading a PDF from our API that has many text fields and checkboxes pre-filled out so the user has less manual entry to do.
In recent versions > 16, the checkboxes currently don't show as checked when they should. We also have a similar issue for pre-filled text field data not showing either but have a workaround in place by binding a modified data object to [(formData)]
Focusing on the checkbox issue here, what's strange is that the checkbox does show as checked when printing the PDF.
Thanks for the extra info!
We're not using form binding.
If that's causing the issue, I wonder if there is a way to simply disable it 🤔
I've fixed the issue. Disabling form binding is also a good idea. If everything works according as intended, you won't notice the effect of form binding, but it wastes some CPU resources and adds to our CO2 footprint. I'll keep that in mind.
Along the way, I've also fixed a rare corner case that caused the PDF viewer to render the defaut value of a text field, even though it has been overwritten by Angular. The error showed in the form demo showcase - it displayed the wrong number of "year of job experience".
Your bugfix has landed with version 20.2.0.
Enjoy! Stephan
Thank you @stephanrauh !
Sounded like a curly one!
No
Yes
Describe the bug
Version info Version 18.1.14 and version 20.0.0
Demo PDF file Section 7 checkbox issue.pdf