You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I submit a form without uploading an image I lose the image I had previously uploaded.
I don't see anything in the doc to handle this situation.
Is something planed to handle this ?
I used to handle this with Javascript and some tweak server side:
The server sets some information in the response to let the JS know if an image already exists. If yes it hides the upload field, removes the "required" if any and adds a button to show the upload when clicked.