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

ValidationProvider does not check required attribute on <textarea> #2547

Closed
VictorCazanave opened this issue Dec 16, 2019 · 2 comments
Closed
Labels
🐛 bug Unintended behavior

Comments

@VictorCazanave
Copy link

Versions

  • vee-validate: 3.2.0
  • vue: 2.6.11

Describe the bug
ValidationProvider does not check required attribute on <textarea> (inferred rules).

To reproduce
Steps to reproduce the behavior:

  1. Go to demo
  2. Click on the "Submit" button to validate the form
  3. The error message of the 1st textarea (with rules prop) is displayed (OK) but the error message of the 2nd and 3rd textareas (with dynamic/static inferred rules) is not displayed (KO)

Expected behavior
ValidationProvider should validate inferred rules of <textarea>.

Demo link
https://codesandbox.io/s/veevalidate-required-textarea-bug-x8mbd

Additional context
I thought this issue might be fixed by #2333 or #2445, but after updating to v3.2.0 it still happens.

@VictorCazanave VictorCazanave changed the title ValidationProvider does not check required attribute on <textarea> ValidationProvider does not check required attribute on <textarea> Dec 16, 2019
@logaretm logaretm added the 🐛 bug Unintended behavior label Dec 16, 2019
@logaretm
Copy link
Owner

Thanks for reporting this, I have found and addressed the issue. Should be up with the next release

@VictorCazanave
Copy link
Author

Thanks for your very quick feedback @logaretm 👍

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