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

Custom validation messages doen't work with subType messages #48

Open
IvanD4RE opened this issue Oct 9, 2023 · 0 comments
Open

Custom validation messages doen't work with subType messages #48

IvanD4RE opened this issue Oct 9, 2023 · 0 comments

Comments

@IvanD4RE
Copy link

IvanD4RE commented Oct 9, 2023

sample code:

    const messagesCustom = {
      "min":{
      "numeric": ":attr minimo :min.",
      "file": ":attr dev'essere almeno :min kilobytes.",
      "string": ":attr deve essere lungo almeno :min caratteri.",
     "array": ":attr deve avere almeno :min elementi.",      }
    }
    Validator.make(building, rules,messagesCustom);
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

1 participant