F
Filament5mo ago
Jordin

Custom validation message for min attribute

It seems to me that the custom validation for a minimum numeric attribute is not working as expected. ->validationMessages([ 'min.numeric' => __('Custom message.'), ]) These array validations seem to be the issue.
Solution:
->validationMessages([
'min' => __('Custom message.')
])
->validationMessages([
'min' => __('Custom message.')
])
...
Jump to solution
1 Reply
Solution
LeandroFerreira
LeandroFerreira5mo ago
->validationMessages([
'min' => __('Custom message.')
])
->validationMessages([
'min' => __('Custom message.')
])
?
Want results from more Discord servers?
Add your server