@vuehookform/core 0.4.5 → 0.4.6

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.
@@ -1410,7 +1410,6 @@ function useForm(options) {
1410
1410
  const isDirtyComputed = (0, vue.computed)(() => Object.keys(ctx.dirtyFields.value).length > 0);
1411
1411
  const errorsComputed = (0, vue.computed)(() => getMergedErrors());
1412
1412
  const isValidComputed = (0, vue.computed)(() => {
1413
- if (!(ctx.submitCount.value > 0 || Object.keys(ctx.touchedFields.value).length > 0)) return false;
1414
1413
  return Object.keys(errorsComputed.value).length === 0;
1415
1414
  });
1416
1415
  const isReadyComputed = (0, vue.computed)(() => !ctx.isLoading.value);
@@ -1408,7 +1408,6 @@ function useForm(options) {
1408
1408
  const isDirtyComputed = computed(() => Object.keys(ctx.dirtyFields.value).length > 0);
1409
1409
  const errorsComputed = computed(() => getMergedErrors());
1410
1410
  const isValidComputed = computed(() => {
1411
- if (!(ctx.submitCount.value > 0 || Object.keys(ctx.touchedFields.value).length > 0)) return false;
1412
1411
  return Object.keys(errorsComputed.value).length === 0;
1413
1412
  });
1414
1413
  const isReadyComputed = computed(() => !ctx.isLoading.value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuehookform/core",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "TypeScript-first form library for Vue 3, inspired by React Hook Form. Form-level state management with Zod validation.",
5
5
  "type": "module",
6
6
  "workspaces": [