@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/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: false }) : this.validateCurrentPage();
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: false }) : this.validateCurrentPage();
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-dev.5920.ec4c1d3",
3
+ "version": "5.0.0-dev.5920.f1002ff",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {