D
D
Div-Man2018-08-15 16:11:25
Laravel
Div-Man, 2018-08-15 16:11:25

How to pick up the file in the form that was specified before reloading the page?

If it is incorrect to fill in a regular field, then after a reboot, this value can be displayed using the old helper, but how to do the same with the file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2018-08-15
@v_decadence

No way. It's impossible.
Only if you remake the send to AJAX so that the form is not reset.
Or save the same model with files, but in the "not active" status, that is, to do additional logic. And activate the model after validation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question