vuelidate-error-extractor icon indicating copy to clipboard operation
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

Open ayushbhatt-7 opened this issue 2 years ago • 3 comments

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"} }`

#860 #302 #460

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

ayushbhatt-7 avatar Mar 10 '22 06:03 ayushbhatt-7

Will investigate during the weekend

dobromir-hristov avatar Mar 10 '22 19:03 dobromir-hristov

Hi @dobromir-hristov , got anything regarding this ? This is affecting whole app environment for me.

ayushbhatt-7 avatar Mar 24 '22 06:03 ayushbhatt-7

Sorry. I did and I could not reproduce your problem. Can you create a small repo so I can test it?

dobromir-hristov avatar Mar 24 '22 06:03 dobromir-hristov