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

Pressing Enter to submit form does not work in ValidationObserver with multiple inputs #4976

Open
3 of 5 tasks
brantrusnak opened this issue Jan 15, 2025 · 0 comments
Open
3 of 5 tasks

Comments

@brantrusnak
Copy link

brantrusnak commented Jan 15, 2025

What happened?

Adding multiple input to a <ValidationObserver> prevents @submit from being called with the Enter key.

Reproduction steps

  1. In the first form, enter text to the input and press enter to submit.
  2. Form1 onSubmit() called. is logged to the console.
  3. In the second form, enter text to both inputs and press enter to submit.
  4. Form2 onSubmit() called. is not logged to the console.

Version

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

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Relevant log output

No response

Demo link

https://codesandbox.io/p/sandbox/laughing-mcnulty-63zfqw

Code of Conduct

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

1 participant