formio / react

JSON powered forms for React.js
https://form.io
MIT License
305 stars 267 forks source link

Formedit giving error while any event occurs in ui #580

Open raikhanworkspace013 opened 1 week ago

raikhanworkspace013 commented 1 week ago

Failed to execute 'structuredClone' on 'Window': options => { this.submit(false, options).catch(e => { options.instance.loading = fa...... } could not be cloned. Error: Failed to execute 'structuredClone' on 'Window': options => { this.submit(false, options).catch(e => { options.instance.loading = fa...... } could not be cloned. at onAnyEvent (webpack://oss-portal/./node_modules/@formio/react/lib/components/Form.js?:36:24) at EventEmitter.eval (webpack://oss-portal/./node_modules/@formio/react/lib/components/Form.js?:230:53) at EventEmitter.emit (webpack://oss-portal/./node_modules/eventemitter3/index.js?:182:35) at EventEmitter.emit (webpack://oss-portal/./node_modules/@formio/js/lib/cjs/EventEmitter.js?:47:19) at EmailComponent.emit (webpack://oss-portal/./node_modules/@formio/js/lib/cjs/Element.js?:180:25) at HTMLInputElement.eval (webpack://oss-portal/./node_modules/@formio/js/lib/cjs/components/_classes/component/Component.js?:2877:22)

lane-formio commented 1 week ago

Version?

raikhanworkspace013 commented 1 week ago

Version?

  "@formio/js": "5.0.0-dev.5621.91bd945",
    "@formio/react": "6.0.0-dev.568.ced0fbd",
raikhanworkspace013 commented 1 week ago

@lane-formio I'm facing an issue with the formedit component. When I use it to create a new form, the setting values are not being set in the payload.