vuelidate-error-extractor
vuelidate-error-extractor copied to clipboard
{min} not working but {attribute} working due to rollup config changes or param handling changes in 2.4.1
vue & vuelidate-error-extractor version
2.0.x, 2.4.1 I'm using vuelidate (0.7.5) with VuelidateErrorExtractor(2.4.1) this way :
`import Vuelidate from "vuelidate"; import VuelidateErrorExtractor, { templates } from "vuelidate-error-extractor";
const messages = {minLength: "{attribute} must have minimum {min} characters"}
Vue.use(Vuelidate); Vue.use(VuelidateErrorExtractor, { messages, attributes: { name: "Name"} }`
What is Expected?
attribute must have minimum 4 characters
What is actually happening?
attribute must have minimum characters
{min} is not working and {attribute} is working.
What's changed ? @dobromir-hristov @pascaloliv @traviscibot @pelcasandra
Will investigate during the weekend
Hi @dobromir-hristov , got anything regarding this ? This is affecting whole app environment for me.
Sorry. I did and I could not reproduce your problem. Can you create a small repo so I can test it?