-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release >= 3.8.0 has changed public formRender API #1279
Comments
Issue is due to removing these lines
and instance returning the instance as
|
@kevinchappell this commit #1221 introduced the breaking change in API to src/js/form-render.js |
Facing the same issue as mentioned by @lucasnetau |
@lucasnetau thanks for finding this. just opened #1289 to fix |
## [3.8.3](v3.8.2...v3.8.3) (2022-03-25) ### Bug Fixes * formRender api ([05a3476](05a3476)), closes [#1279](#1279)
🎉 This issue has been resolved in version 3.8.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description:
Per https://formbuilder.online/docs/formRender/actions/userData/ the userData property on the formRender object should be an object with the current form values
3.8.0 changed the API and now the userData property is a function that needs to be called to return the userData
Possible change triggering the issue src/js/form-render.js#
Environment Details:
Expected Behavior
typeof formRenderInstance.userData (object)
Actual Behavior
typeof formRenderInstance.userData (function)
Steps to Reproduce
Render a form and retrieve the userData
The text was updated successfully, but these errors were encountered: