Open madflow opened 2 years ago
hi @madflow can you assign me here?
@rijusougata13 No, I cannot assign you.
@madflow @rijusougata13 Is there a solution for this problem. I am facing the same issue. Thanks
We added this for our Monday planning to get this prioritized. Thanks.
Having the same issue.
We've done some work recently around translations. Can you try again with the latest rc versions to see if this has resolved?
@lane-formio
I have installed the latest RC Version, which required a npm namespace change using the "formiojs" now as @formio/js
library. I tried a full update:
yarn add @formio/js @formio/react @formio/premium
This resulted in:
"@formio/js": "5.0.0-rc.48",
"@formio/premium": "^2.0.3",
"@formio/react": "^5.3.1-dev.AvA08V.6",
Changing the language and passing it down as prop (see initial first post) is still not working.
Also, the `@formio/premium" package does not build properly and the complete build fails (I had to disable it to test the language changes). It seems, that the premium package does not know about the name change yet.
✘ [ERROR] Could not resolve "formiojs"
node_modules/@formio/premium/lib/components/Sketchpad/Sketchpad.form.js:8:27:
8 │ import { Components } from 'formiojs';
╵ ~~~~~~~~~~
You can mark the path "formiojs" as external to exclude it from the bundle, which will remove this
error.
✘ [ERROR] Could not resolve "formiojs"
node_modules/@formio/premium/lib/utils/utils.js:14:45:
14 │ import { Utils as FormioUtils, Formio } from 'formiojs';
╵ ~~~~~~~~~~
You can mark the path "formiojs" as external to exclude it from the bundle, which will remove this
error.
✘ [ERROR] Could not resolve "formiojs"
node_modules/@formio/premium/lib/components/DynamicWizard/editForm/DynamicWizard.edit.templates.js:1:22:
1 │ import { Utils } from 'formiojs';
╵ ~~~~~~~~~~
You can mark the path "formiojs" as external to exclude it from the bundle, which will remove this
error.
✘ [ERROR] Could not resolve "formiojs"
node_modules/@formio/premium/lib/components/DataTable/DataTableFormioIntegration.js:19:37:
19 │ import { Components, Builders } from 'formiojs';
╵ ~~~~~~~~~~
You can mark the path "formiojs" as external to exclude it from the bundle, which will remove this
error.
✘ [ERROR] Could not resolve "formiojs"
node_modules/@formio/premium/lib/components/DataTable/DataTable.form.js:8:27:
8 │ import { Components } from 'formiojs';
╵ ~~~~~~~~~~
You can mark the path "formiojs" as external to exclude it from the bundle, which will remove this
error.
✘ [ERROR] Could not resolve "formiojs"
node_modules/@formio/premium/lib/components/Captcha/editForm/Captcha.edit.display.js:1:22:
1 │ import { Utils } from 'formiojs';
╵ ~~~~~~~~~~
Apologies, try @formio/react@6.0.0-rc.1
Environment
Please provide as many details as you can:
Steps to Reproduce
Expected behavior
Observed behavior
This can be hack-fixed by amending
Form.jsx
, https://github.com/formio/react/blob/e9d61b0dc7ec45be966fd57b92c41e9b9f8483ab/src/components/Form.jsx#L62