vendredi 10 avril 2020

How can I override Laravel Voyager required_if validation message?

I am using Laravel Voyager in which I am trying to customize my validation message for required_if and here is my JSON validation but it is not working. I have tried and googled solutions but didn't find any solution.

{
 "validation": {
    "rule": "required_if:field_value,0",
    "messages": {
        "required": "your message"
    }
  }
}


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire