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

validateOnValueUpdate prop doesn't exist on defineComponentBinds function #4547

Closed
5 tasks done
alexovn opened this issue Nov 18, 2023 · 1 comment · Fixed by #4497
Closed
5 tasks done

validateOnValueUpdate prop doesn't exist on defineComponentBinds function #4547

alexovn opened this issue Nov 18, 2023 · 1 comment · Fixed by #4497

Comments

@alexovn
Copy link

alexovn commented Nov 18, 2023

What happened?

I need to validate form on submit only. I tried to turn off 'aggressive' validation via validateOnValueUpdate prop in defineComponentBinds function, but there's no such prop and no alternative methods to do it. In docs there's an article about it(component binds), but example from it is not working.

Reproduction steps

  1. import useForm function
  2. take defineComponentBinds function from useForm
  3. try to use validateOnValueUpdate prop in defineComponentBinds function to rule validation mode

Version

Vue.js 3.x and vee-validate 4.x

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Relevant log output

No response

Demo link

https://stackblitz.com/edit/5ttbmn?file=src%2FApp.vue

Code of Conduct

@logaretm
Copy link
Owner

This should be resolved by #4497

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

Successfully merging a pull request may close this issue.

2 participants