@ederzeel/nuxt-schema-form-nightly 0.1.0-29104769.df64a23 → 0.1.0-29118956.9ee4a3d

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.
@@ -41,7 +41,7 @@ const validateFields = async (fields: string[]) => {
41
41
  for (const { field, message, validate } of props.options.customValidation) {
42
42
  if (!fields.includes(field)) continue
43
43
  if (!validate(value.value)) {
44
- const errors = [{ field, message }]
44
+ const errors = [{ name: field, message }]
45
45
  formRef.value.setErrors(errors, field)
46
46
  allValid = false
47
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ederzeel/nuxt-schema-form-nightly",
3
- "version": "0.1.0-29104769.df64a23",
3
+ "version": "0.1.0-29118956.9ee4a3d",
4
4
  "description": "A runtime form generator for nuxt",
5
5
  "type": "module",
6
6
  "exports": {