vee-validate@4.0.0-beta.17
Pre-release
Pre-release
π New Features
- Pass the field context object as a second argument to validation functions to be consistent with global validators. This should make them more flexible.
<Field :rules="validateField" ... />
function validateField(value, ctx) {
ctx.form; // other fields values
ctx.field; // current field name
}