@formio/js 5.0.0-dev.5883.805c58d → 5.0.0-dev.5884.79b0f27

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.
package/lib/cjs/Wizard.js CHANGED
@@ -716,7 +716,7 @@ class Wizard extends Webform_1.default {
716
716
  else {
717
717
  this.currentPage.components.forEach((comp) => comp.setPristine(false));
718
718
  this.scrollIntoView(this.element, true);
719
- return Promise.reject(this.showErrors(errors, true));
719
+ return Promise.reject(super.showErrors(errors, true));
720
720
  }
721
721
  }
722
722
  validateCurrentPage(flags = {}) {
@@ -476,7 +476,7 @@ class FormComponent extends Component_1.default {
476
476
  checkComponentValidity(data, dirty, row, options, errors = []) {
477
477
  options = options || {};
478
478
  const silentCheck = options.silentCheck || false;
479
- if (this.subForm) {
479
+ if (this.subForm && !this.isNestedWizard) {
480
480
  return this.subForm.checkValidity(this.subFormData, dirty, null, silentCheck, errors);
481
481
  }
482
482
  return super.checkComponentValidity(data, dirty, row, options, errors);
package/lib/mjs/Wizard.js CHANGED
@@ -706,7 +706,7 @@ export default class Wizard extends Webform {
706
706
  else {
707
707
  this.currentPage.components.forEach((comp) => comp.setPristine(false));
708
708
  this.scrollIntoView(this.element, true);
709
- return Promise.reject(this.showErrors(errors, true));
709
+ return Promise.reject(super.showErrors(errors, true));
710
710
  }
711
711
  }
712
712
  validateCurrentPage(flags = {}) {
@@ -470,7 +470,7 @@ export default class FormComponent extends Component {
470
470
  checkComponentValidity(data, dirty, row, options, errors = []) {
471
471
  options = options || {};
472
472
  const silentCheck = options.silentCheck || false;
473
- if (this.subForm) {
473
+ if (this.subForm && !this.isNestedWizard) {
474
474
  return this.subForm.checkValidity(this.subFormData, dirty, null, silentCheck, errors);
475
475
  }
476
476
  return super.checkComponentValidity(data, dirty, row, options, errors);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5883.805c58d",
3
+ "version": "5.0.0-dev.5884.79b0f27",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {