formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.89k stars 1.06k forks source link

[BUG] Wizard fails to load form in builder #2955

Closed pixie79 closed 4 years ago

pixie79 commented 4 years ago

Environment

Please provide as many details as you can:

Steps to Reproduce

  1. Create a wizard form and save
  2. Reload the wizard in the editor

Expected behavior

Wizard should display the form.

Observed behavior

Empty form displayed. If you switch the type to form then the data shows. Switch back to wizard and it is there as normal

travist commented 4 years ago

Does this work well in the Next portal @ https://next.form.io? If so, then this makes me believe that the issue is with the React wrapper.

pixie79 commented 4 years ago

@travist @randallknutson Agree it appears to work ok on the Next.form.io version so it is likely a react wrapper conflit.

For our upgrade all we did was "npm remove react-formio" followed by "npm install react-formio" so only things it pulled in were affected as part of our upgrade test.

If it helps here is a diff of the package-lock

er git:(master) ✗ cat diff diff --git a/client/package-lock.json b/client/package-lock.json index 9f3c5bc..45e5d97 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -2119,17 +2119,17 @@ "integrity": "sha512-6PYY5DVdAY1ifaQW6XYTnOMihmBVT27elqSjEoodchsGjzYlEsTQMcEhSud99kVawatyTZRTiVkJ/c6lwbQ7nA==" }, "@formio/bootstrap3": {

travist commented 4 years ago

Apparently, Github does not like it when you paste in a diff into a comment. :)

aminmc commented 4 years ago

Oh my days 🤣. Spoken to Randall and found a solution so this can be closed.