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

Documentation defineComponentBinds example doesn't work #4346

Closed
2 of 5 tasks
MelanieGravel opened this issue Jul 3, 2023 · 2 comments
Closed
2 of 5 tasks

Documentation defineComponentBinds example doesn't work #4346

MelanieGravel opened this issue Jul 3, 2023 · 2 comments
Labels
🐛 bug Unintended behavior

Comments

@MelanieGravel
Copy link

MelanieGravel commented Jul 3, 2023

What happened?

I am trying to reproduce the example of Eager validation for Component binded events which is documented here.

https://vee-validate.logaretm.com/v4/guide/composition-api/getting-started/#dynamic-configuration

The thing, it doesn't work on my code... and neither on StackBlitz. The input binding works fine, but the component one doesn't.

Reproduction steps

  1. Go to https://vee-validate.logaretm.com/v4/guide/composition-api/getting-started/#dynamic-configuration
  2. Write text in the second input.

Expected behaviour: Validation doesn't start before change/blur event.
Actual behaviour: The Eager validation starts right away

Version

Vue.js 3.3 and vee-validate 4.10.2

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Relevant log output

No response

Demo link

https://stackblitz.com/run?file=src%2FApp.vue&startScript=dev

Code of Conduct

@MelanieGravel MelanieGravel changed the title defineComponentBinds Documentation defineComponentBinds example doesn't work Jul 3, 2023
@logaretm logaretm added the 🐛 bug Unintended behavior label Jul 3, 2023
@logaretm
Copy link
Owner

logaretm commented Jul 3, 2023

Thanks for reporting this, It was hotfixed in 4.10.5 just now and I updated the example to use the correct config name validateOnModelUpdate instead of validateOnValueUpdate for it.

@MelanieGravel
Copy link
Author

Thanks!

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