Bob Gann
Bob Gann
FFilament
Created by HeyWeb on 4/27/2024 in #❓┊help
validationMessages not work
The key in the array in validationMessages must match the value in the laravel documentation. This is not always obvious. For maxLength - the value is "max_digits". So the message should be 'max_digits' => 'La longitud del campo es incorrecta'. Sometimes it matches - like requiredIf - is required_if. I spent 2+ hours in the debugger figuring this out. Would be happy to update the documentation - but I don't know how to contribute there.
7 replies