Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] Undocumented change to validate() payload #3317

Closed
apeling opened this issue May 24, 2021 · 1 comment
Closed

[v4] Undocumented change to validate() payload #3317

apeling opened this issue May 24, 2021 · 1 comment
Labels
🐛 bug Unintended behavior

Comments

@apeling
Copy link

apeling commented May 24, 2021

Versions

  • vee-validate: 4.4.0
  • vue: 3.0.11

Describe the bug

The object returned by manual calls to useForm validate no longer contains an "errors" property as it is now "results" and contains different information. This is not mentioned in docs or the release notes for v4.4.0 and is a breaking change.

CodeSandbox
https://codesandbox.io/s/vee-validate-array-fields-forked-mf8xt?file=/src/App.vue

@logaretm logaretm added the 🐛 bug Unintended behavior label May 24, 2021
@logaretm
Copy link
Owner

You are right, v4.4 shouldn't have introduced that change as it wasn't my intention. I will release a patch bringing back the errors property in addition to the results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants