@formio/js 5.0.0-dev.5920.ec4c1d3 → 5.0.0-dev.5920.f1002ff
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 +1 -1
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +1 -1
- package/dist/formio.full.min.js +1 -1
- package/lib/cjs/Wizard.js +1 -1
- package/lib/mjs/Wizard.js +1 -1
- package/package.json +1 -1
package/lib/cjs/Wizard.js
CHANGED
|
@@ -866,7 +866,7 @@ class Wizard extends Webform_1.default {
|
|
|
866
866
|
var _a, _b;
|
|
867
867
|
super.onChange(flags, changed, modified, changes);
|
|
868
868
|
// The onChange loop doesn't need all components for wizards
|
|
869
|
-
const errors = this.submitted ? this.validate(this.localData, { dirty:
|
|
869
|
+
const errors = this.submitted ? this.validate(this.localData, { dirty: true }) : this.validateCurrentPage();
|
|
870
870
|
if (this.alert) {
|
|
871
871
|
this.showErrors(errors, true, true);
|
|
872
872
|
}
|
package/lib/mjs/Wizard.js
CHANGED
|
@@ -854,7 +854,7 @@ export default class Wizard extends Webform {
|
|
|
854
854
|
onChange(flags, changed, modified, changes) {
|
|
855
855
|
super.onChange(flags, changed, modified, changes);
|
|
856
856
|
// The onChange loop doesn't need all components for wizards
|
|
857
|
-
const errors = this.submitted ? this.validate(this.localData, { dirty:
|
|
857
|
+
const errors = this.submitted ? this.validate(this.localData, { dirty: true }) : this.validateCurrentPage();
|
|
858
858
|
if (this.alert) {
|
|
859
859
|
this.showErrors(errors, true, true);
|
|
860
860
|
}
|