@formio/js 5.0.0-dev.5847.72f1bf3 → 5.0.0-dev.5849.68c657d

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.
@@ -1319,14 +1319,14 @@ class WebformBuilder extends Component_1.default {
1319
1319
  this.hook('instanceOptionsPreview', instanceOptions);
1320
1320
  const instance = new ComponentClass(componentCopy, instanceOptions);
1321
1321
  const schema = this.hook('builderComponentSchema', component, instance);
1322
- this.editForm.submission = isJsonEdit ? {
1322
+ this.editForm.setSubmission(isJsonEdit ? {
1323
1323
  data: {
1324
1324
  componentJson: schema,
1325
1325
  showFullSchema: this.options.showFullJsonSchema
1326
1326
  },
1327
1327
  } : {
1328
1328
  data: instance.component,
1329
- };
1329
+ }, { noValidate: true });
1330
1330
  if (this.preview) {
1331
1331
  this.preview.destroy();
1332
1332
  }
@@ -1309,14 +1309,14 @@ export default class WebformBuilder extends Component {
1309
1309
  this.hook('instanceOptionsPreview', instanceOptions);
1310
1310
  const instance = new ComponentClass(componentCopy, instanceOptions);
1311
1311
  const schema = this.hook('builderComponentSchema', component, instance);
1312
- this.editForm.submission = isJsonEdit ? {
1312
+ this.editForm.setSubmission(isJsonEdit ? {
1313
1313
  data: {
1314
1314
  componentJson: schema,
1315
1315
  showFullSchema: this.options.showFullJsonSchema
1316
1316
  },
1317
1317
  } : {
1318
1318
  data: instance.component,
1319
- };
1319
+ }, { noValidate: true });
1320
1320
  if (this.preview) {
1321
1321
  this.preview.destroy();
1322
1322
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5847.72f1bf3",
3
+ "version": "5.0.0-dev.5849.68c657d",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {