notform 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -495,9 +495,8 @@ function useNotForm(options) {
495
495
  getObjectPaths(_state).forEach((path) => {
496
496
  context.dirtyFields.value.add(path);
497
497
  context.touchedFields.value.add(path);
498
- context.validateField(path);
498
+ if (_validate) context.validateField(path);
499
499
  });
500
- if (_validate) context.validate();
501
500
  },
502
501
  setErrors(_errors) {
503
502
  context.errors.value = [...context.errors.value, ..._errors];
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "1.0.2",
8
+ "version": "1.0.3",
9
9
  "description": "Vue Forms Without the Friction",
10
10
  "author": "Favour Emeka <favorodera@gmail.com>",
11
11
  "license": "MIT",