@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.
- package/dist/vuehookform.cjs +0 -1
- package/dist/vuehookform.js +0 -1
- package/package.json +1 -1
package/dist/vuehookform.cjs
CHANGED
|
@@ -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);
|
package/dist/vuehookform.js
CHANGED
|
@@ -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