When redirecting due to a validation error, request input is flashed to the session.
Retrieve the input from the previous request with the old
method
$title = $request->old('title');
Or the old()
helper
<input type="text" name="title" value="{{ old('title') }}">
Comments