inheritAttrs is false make v-text-field can't use vee-validate
See original GitHub issueSteps 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
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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@rafaelramalho19 within a couple of days max, sorry for the delay.