@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/dist/formio.form.js +2 -2
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +2 -2
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/Wizard.js +1 -1
- package/lib/cjs/components/form/Form.js +1 -1
- package/lib/mjs/Wizard.js +1 -1
- package/lib/mjs/components/form/Form.js +1 -1
- package/package.json +1 -1
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(
|
|
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(
|
|
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);
|