@shaddark I think you can keep the last insert of input value after submitting by using old function in your input fields.
<input name="id" id="id" class="form-control shadow-none" type="number" placeholder="Code..." value="{{ old('id', request()->input('id'))}}">
This will first check if there is an old input value in the session and will use it, if not it will check the current request input value.
Additionally, you can also use the session helper function to store the input value in the session for the next request.
In your controller, after the validation and before redirecting:
session(['id' => $request->input('id')]);
And in your blade template:
<input name="id" id="id" class="form-control shadow-none" type="number" placeholder="Code..." value="{{ old('id', session('id'))}}">
This way, even if the user refreshes the page, the input value will still be there and you can keep it as long as you need.