@evoke-platform/ui-components 1.0.0-dev.233 → 1.0.0-dev.234

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,6 +81,10 @@ export function Form(props) {
81
81
  buildComponents();
82
82
  }
83
83
  }, [formKey]);
84
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
85
+ const handleFormReady = (instance) => {
86
+ instance.noeval = true;
87
+ };
84
88
  const buildComponents = async () => {
85
89
  const action = object?.actions?.find((action) => action.id === actionId);
86
90
  let input;
@@ -423,7 +427,7 @@ export function Form(props) {
423
427
  componentProps.length ? (React.createElement(FormIO, { key: closeModal ? undefined : formKey, form: {
424
428
  display: 'form',
425
429
  components: componentProps,
426
- } })) : (React.createElement(Box, null,
430
+ }, formReady: handleFormReady })) : (React.createElement(Box, null,
427
431
  React.createElement(Box, { display: 'flex', width: '100%', justifyContent: 'space-between' },
428
432
  React.createElement(Skeleton, { width: '78%', sx: { borderRadius: '8px', height: '40px' } }),
429
433
  React.createElement(Skeleton, { width: '20%', sx: { borderRadius: '8px', height: '40px' } })),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.0.0-dev.233",
3
+ "version": "1.0.0-dev.234",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",