Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{min} not working but {attribute} working due to rollup config changes or param handling changes in 2.4.1 #73

Open
ayushbhatt-7 opened this issue Mar 10, 2022 · 3 comments

Comments

@ayushbhatt-7
Copy link

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

@dobromir-hristov
Copy link
Owner

Will investigate during the weekend

@ayushbhatt-7
Copy link
Author

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

@dobromir-hristov
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants