@formio/js 5.1.0-dev.6227.3eac551 → 5.1.0-dev.6230.da74478

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
@@ -879,7 +879,11 @@ class Wizard extends Webform_1.default {
879
879
  var _a;
880
880
  super.onChange(flags, changed, modified, changes);
881
881
  // The onChange loop doesn't need all components for wizards
882
- const errors = this.submitted ? this.validate(this.localData, { dirty: true }) : this.validateCurrentPage();
882
+ const errors = (flags === null || flags === void 0 ? void 0 : flags.noValidate)
883
+ ? []
884
+ : this.submitted
885
+ ? this.validate(this.localData, { dirty: true })
886
+ : this.validateCurrentPage();
883
887
  if (this.alert) {
884
888
  this.showErrors(errors, true, true);
885
889
  }
package/lib/mjs/Wizard.js CHANGED
@@ -867,7 +867,11 @@ export default class Wizard extends Webform {
867
867
  onChange(flags, changed, modified, changes) {
868
868
  super.onChange(flags, changed, modified, changes);
869
869
  // The onChange loop doesn't need all components for wizards
870
- const errors = this.submitted ? this.validate(this.localData, { dirty: true }) : this.validateCurrentPage();
870
+ const errors = flags?.noValidate
871
+ ? []
872
+ : this.submitted
873
+ ? this.validate(this.localData, { dirty: true })
874
+ : this.validateCurrentPage();
871
875
  if (this.alert) {
872
876
  this.showErrors(errors, true, true);
873
877
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.1.0-dev.6227.3eac551",
3
+ "version": "5.1.0-dev.6230.da74478",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {