I have a global validation rule, for example:
import { extend } from 'vee-validate';
import { required } from 'vee-validate/dist/rules';
extend('required', {
...required,
message: 'Please fill the field'
});
This rule is using for all Vue components across the project. But for one exact component I need to redefine the message Please fill the field
to another one. Is it possible to change the message just for one Vue component?
Unauthorised Overrun Charges
" rules="required|decimal_validator_common:10,2,nodecimal" v-slot="{ errors }" :custom-messages="{ decimal_validator_common: 'sachin message', required:'dsklfjs' }"> – Danieledaniell