Input error message, input name first letter shows is lower case
Hi guys i have a issue withe the validation messages for the fields, the field name first letter is beeing changed to lowercase.
Anyone now how to make it the stay the same way as the the input label?
Solution:Jump to solution
Use the validationAttribute method: https://filamentphp.com/docs/2.x/forms/validation#validation-attributes
2 Replies
Solution
Use the validationAttribute method: https://filamentphp.com/docs/2.x/forms/validation#validation-attributes
If that method isn't used it'll use the label with the lcfirst which is why you're getting that. Just do