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

Validation mode aggressive behaves like eager for <textarea> #2333

Closed
trevorgehman opened this issue Sep 13, 2019 · 1 comment
Closed

Validation mode aggressive behaves like eager for <textarea> #2333

trevorgehman opened this issue Sep 13, 2019 · 1 comment

Comments

@trevorgehman
Copy link

trevorgehman commented Sep 13, 2019

Versions

  • vee-validate: 3.0.5
  • vue: 2.6.10

Describe the bug
The aggressive mode behaves like the eager mode for a textarea.

To reproduce
Steps to reproduce the behavior:

  1. Wrap a textarea with a <ValidationProvider mode="aggressive">
  2. Start typing
  3. Notice how the validated flag stays false and does not change until a blur event

Expected behavior
In the aggressive mode, the ValidationProvider should be validating on every input/change event.

Demo link
https://codesandbox.io/embed/veevalidate-30-passive-mode-issue-duyoh

Additional context
I imagine this could be related to #2229.

@logaretm
Copy link
Owner

Thanks for reporting this, I have found the issue as vee-validate wasn't considering textarea as a textual input.

Should be up in the next release.

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