question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

inheritAttrs is false make v-text-field can't use vee-validate

See original GitHub issue

Steps to reproduce

Get error in console.

"[Vue warn]: Error in directive validate bind hook: 'Error: [vee-validate] Cannot add a listener for non-existent field undefined.'

Versions

Vue: 2.4.1 Vuetify: 0.4.15 vee-validate: 2.0.0-rc.7

What is expected ?

name or another props (eg: data-vv-name) must be passing to component

What is actually happening ?

inheritAttrs is false, so default behavior was disabled.

Reproduction Link

https://codepen.io/CasperLai/pen/pwMrMg

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
logaretmcommented, Jul 21, 2017

It seems its an issue on my end here with vee-validate because it depended on inherited attributes, I have fixed it in this commit

1reaction
logaretmcommented, Jul 26, 2017

@rafaelramalho19 within a couple of days max, sorry for the delay.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validation Provider - VeeValidate
The ValidationProvider component is a regular component that wraps your inputs and provides validation state using scoped slots .
Read more >
useField - VeeValidate
useField is a custom composition API function that allows you to create data models that's automatically validated that you can then use to...
Read more >
Flags | VeeValidate
Flags. # Introduction. vee-validate includes few flags that could help you improve your user experience, each field under validation has its own set...
Read more >
Field - VeeValidate
Field. The <Field /> component is an extremely flexible component that makes rendering input fields easy and intuitive, By default it renders an...
Read more >
Custom Rules - VeeValidate
required is set to false, the other field rules won't be executed if the field is empty. TIP. This option is best used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found