laravel 8 old input code example
Example: laravel form old value array
{{ var_dump(old('field.0')) }}
<form method="post" action="">
{!! csrf_field() !!}
<input type="text" name="field[]" value="{{ old('field.0') }}" />
<input type="text" name="field[]" value="{{ old('field.1') }}" />
<input type="text" name="field[]" value="{{ old('field.2') }}" />
<input type="submit" name="submit" value="Submit" />
</form>