notform 2.1.2 → 2.1.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 +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -301,13 +301,13 @@ var not_field_default = /* @__PURE__ */ defineComponent({
301
301
  function onInput() {
302
302
  updateDirty();
303
303
  if (!validateOn.value.onInput) return;
304
- if (!form.validationMode.eager || !isValid.value) scheduleValidation();
304
+ if (form.validationMode.eager && !isValid.value) scheduleValidation();
305
305
  }
306
306
  /** Handles the change event for the field. */
307
307
  function onChange() {
308
308
  updateDirty();
309
309
  if (!validateOn.value.onChange) return;
310
- if (!form.validationMode.eager || !isValid.value) scheduleValidation();
310
+ if (form.validationMode.eager && !isValid.value) scheduleValidation();
311
311
  }
312
312
  /** Handles the focus event for the field. */
313
313
  function onFocus() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "notform",
3
3
  "type": "module",
4
- "version": "2.1.2",
4
+ "version": "2.1.3",
5
5
  "private": false,
6
6
  "description": "Vue Forms Without the Friction",
7
7
  "author": "Favour Emeka <favorodera@gmail.com>",