TheIconoclast
0
Q:

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>
0

New to Communities?

Join the community