How can I customise the key name in an error bag?
foreach ($validator->errors()->messages() as $key => $value) {
Changing the key in here is not reflected in the message array.
I cannot also see a setter for the message bag.
So, how can I change the key of a message in the error bag?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NoRv1Q
via IFTTT
Aucun commentaire:
Enregistrer un commentaire