old value laravel code example
Example 1: how laravel return the old value
return redirect('form')->withInput();
Example 2: laravel old value or default
{{ old('salary_' . $employee->id, 'Default') }}
Example 3: laravel request has
if ($request->has('name')) {
//
}