Silent 7 rokov pred
rodič
commit
44a92e172f

+ 1 - 1
app/Http/Controllers/Admin/StudentController.php

xqd
@@ -68,7 +68,7 @@ class StudentController extends Controller
         ]);
 
         if($validator->fails()) {
-            return back()->withErrors($validator);
+            return back()->withErrors($validator)->withInput();
         }
 
         $res = $this->model->create($request->input('data'));