how to use old value in 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') }}
return redirect('form')->withInput();
{{ old('salary_' . $employee->id, 'Default') }}