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

Custom component does not trigger change event on form #4725

Open
4 of 5 tasks
Fauphi opened this issue Apr 11, 2024 · 1 comment
Open
4 of 5 tasks

Custom component does not trigger change event on form #4725

Fauphi opened this issue Apr 11, 2024 · 1 comment

Comments

@Fauphi
Copy link

Fauphi commented Apr 11, 2024

What happened?

My custom component that does use useField but no standard form elements like input, select,.. does not trigger the change event on the form.
Validation works in the custom component.

Reproduction steps

  1. Start Demo Link
  2. Change the input field -> Alert box shows that the form has changed
  3. click on one of the circles of the custom element -> alert box does not show, but should

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/vee-validate-v4-custom-inputs-umelh5?file=src%2FApp.vue

Code of Conduct

@TomDeSmet
Copy link

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

No branches or pull requests

2 participants