samedi 23 avril 2016

laravel 5.1 validation mimes error doesn`t display

hi I have this validation

 $this->validate($request, [
     'image' => 'required|mimes:jpeg,bmp,png',
 ]);

error for required its Ok . but when your image extension in not jpeg,bmp,png i haven`t error



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire