Skip to content

Conversation

@leodube-aot
Copy link

@leodube-aot leodube-aot commented Sep 23, 2025

Link to Jira Ticket

https://formio.atlassian.net/browse/FWF-4762

Description

What changed?

  • Git merged latest upstream version (5.2.2) from formio.
  • Kept custom AOT code where applicable.

Note
Most of the changes here are from the upstream formio repo. To see the additional changes I added to get this package working with forms-flow-ai, you can run the following command:

git diff v5.2.2 5.2.2 -- ':!package-lock.json' ':!yarn.lock' > ~/Desktop/formio-js-diff.txt 

Or view the output file:
formio-js-diff.txt

For readability, copy paste the output into a git-diff visualizer

Dependencies

  • None

How has this PR been tested?

Checklist:

  • 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

TanyaGashtold and others added 30 commits November 4, 2024 18:01
…lectboxes with url type is failed to load options
…ntentionally hidden (formio#5906)

* validateWhenHidden respects all kinds of visibility

* add clearOnHide: false to fix test
* validate current page on wizard change

* add tests

* fix tests

* Specify correct flag for form validation after failed wizard submission

- this.validate() is only called in onChange() if the form previously failed to submit. Because of this, the form will already be dirty, so it makes sense to reiterate this by passing dirty: true instead of false.

---------

Co-authored-by: Blake Krammes <[email protected]>
…tings saving due to validation configured in logic
…bsequent form interaction when current page has no errors (formio#5922)

* FIO-9350 Wizard: Show all form errors consistently after failed submission

- Show all form errors on page without required fields after failed submission
- Show all form errors on page with required fields after failed submission and after interacting with the page

* FIO-9350 Wizard: Persist form errors if submission failed

- While showErrors worked as expected (defined in Webform), this.errors (get errors()) in Wizard was not persisting all the form errors after a failed submission

* FIO-9350 Wizard: Clean up dup helper fns in tests

- Consolidate most link navigation to one global helper fn

* FIO-9350 Wizard: Add test for maintaining form errors after failed submit

- Show form-level errors after failed submission even when the current page has no errors

* FIO-9350 Wizard: Simplify async flow for flaky test
* 5.x - FIO-8426: changes required for eSignature

* added types and description

* refactored types

* added description for renderModalPreview returned value
brendanbond and others added 28 commits August 14, 2025 14:06
… in wizards are not properly highlighting when you click the error link. (formio#6189)

* FIO-10425: Fixed issues where fields with errors in nested forms within wizards are not properly highlighting when you click the error link.

* Fixed some test issues.

* Remove metadata from unit tests for nested forms.

---------

Co-authored-by: John Teague <[email protected]>
…ssue where validation does not work well for components inside conditional nested form'
…ssue where front validation doesnot work for nested form components inside nested wizard'
…ssue where WizardBuiler is not fully destroyed and keeps listening to saveComponent event leadign to unexpected behaviour'
@leodube-aot leodube-aot marked this pull request as draft September 23, 2025 05:33
@leodube-aot leodube-aot changed the title 5.2.2 FWF-4762 Upgrade to Version 5.2.2 Sep 23, 2025
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.