Skip to content

Conversation

@TanyaGashtold
Copy link
Contributor

@TanyaGashtold TanyaGashtold commented Mar 28, 2025

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-9902
https://formio.atlassian.net/browse/FIO-9878

Description

What changed?

When the formio-viewer renders submission on the pdf-server, it waits until dataReady is resolved. But the dataReady is not resolved for list components when they are hidden that courses the PDF not to be generated. This PR fixes it.

Why have you chosen this solution?

Use this section to justify your choices

Breaking Changes / Backwards Compatibility

Use this section to describe any potentially breaking changes this PR introduces or any effects this PR might have on backwards compatibility

Dependencies

https://github.com/formio/premium/pull/389

How has this PR been tested?

manually + tests

Checklist:

  • I have completed the above PR template
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • My changes include tests that prove my fix is effective (or that my feature works as intended)
  • New and existing unit/integration tests pass locally with my changes
  • Any dependent changes have corresponding PRs that are listed above

@brendanbond brendanbond merged commit cb678fc into master Apr 2, 2025
8 checks passed
@brendanbond brendanbond deleted the FIO-9902-9878-ficed-pdf-download-for-hidden-select branch April 2, 2025 14:14
lane-formio pushed a commit that referenced this pull request Apr 11, 2025
…-for-hidden-select

FIO-9902-9878: fixed an issue where PDF is not loaded for the form with hidden/conditionally hidden select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants