You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the i18n support guide here https://vuelidate-next.netlify.app/advanced_usage.html#i18n-support and have the basic solution working fine. But I am need of having a validator which does not(sameAs) and I am trying to integrate this with i18n support. But I can't make it work with validation message defined in the locale file
"validations": {
"required": "{property} is required",
"minLength": "{property} must have minimum of {min}",
"maxLength": "{property} can not have more than {max}",
"minValue": "{property} must be greater than {min}",
"maxValue": "{property} must be less than {max}",
"between": "{property} must be between {min} and {max}",
"email": "Enter valid email address",
"sameAs": "{property} must be same as {otherName}",
"not": "{property} must not be same as {otherName}",
"notSameAsCurrent": "{property} xxx"
}
How do I get access to model properties & param when validators are chained together?
The text was updated successfully, but these errors were encountered:
I followed the i18n support guide here https://vuelidate-next.netlify.app/advanced_usage.html#i18n-support and have the basic solution working fine. But I am need of having a validator which does not(sameAs) and I am trying to integrate this with i18n support. But I can't make it work with validation message defined in the locale file
I have following in my i18-validators.js
I am having following in my .vue fle
and have following in my en.json locale file
How do I get access to model properties & param when validators are chained together?
The text was updated successfully, but these errors were encountered: