data-vv-rules, it's designed to this style?
See original GitHub issuevar getDataAttribute = function getDataAttribute(el, name) {
return el.getAttribute('data-vv-' + name);
};
i have beta.14 version vee-validate in my project, today i try to use beta.15, after update, this is a bug: vee-validate.js:1100 Uncaught (in promise) TypeError: Cannot read property ‘split’ of null
i follow source code and notice that, this plugins use data-rules=“” for beta.14, but in beta.15, use data-vv-rules=“”, not same style for html5 attribute,
so i want to know, is this style designed?, new rule? i have to acknowage, i must do some for this change,
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Uncaught Error: [vee-validate] No such validator '1234567' exists
I have made changes from your answer but password validation not working,and i have updated my code in my question.. – Maniraj Murugan....
Read more >Validate custom UI components · Issue #118 - GitHub
Is it possible to validate custom-made UI form components that wrap regular input elements with their own styles or must you use default ......
Read more >Trying to assign min value in vee-validate dynamically-Vue.js
:data-vv-rules="`required|alpha|min:${messages. ... same event listener to dynamically created buttons in Vue.js and pass object's value to it as parameter?
Read more >Jan 2017 - vuejs/vue - Gitter
i figured it out enough that i made a Masonry component though! I can do: <vue-masonry :min-width="200" :horizontal-gutter="20" ...
Read more >Vee-validate + V-The-Mask - CodePen
<the-mask :masked="masked" mask="######" v-model="zip" v-validate="zip" data-vv-rules="required" :class="{'input': true,'is-danger': errors.has('zip') } ...
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
@logaretm I also tried to update to beta.15 but couldn’t make it to work. After migrating all
data-*
todata-vv-*
I got weird errors about not defined props, so I switched back.@luqingxuan probably this is a non-backwards compatible change. We should expect this kind of changes while the plugin is still in beta.
yep, the docs have not been updated yet because of Vue 1.0 version taking longer than expected, should be updated today, sorry for the confusion.
All the data-* attributes for the plugin has been prefixed with
vv
to help prevent any conflicts with other packages. so you are going to have to search and replace for the attributes you’ve used. Sorry again about the confusion.