@@ -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'));