FileUpload: Button to change the image.
Hello,
Is it possible to add a button in the image preview (or by clicking on the preview) to change the curent image (open the browers windows file selection) or should I click on the cross icon, waiting for the temp image is delete and then click on the upload area.
Thx in advance
2 Replies
I don't think there is a replace option.
Oki 😕 thx for all your answer and sorry if I’m boring 😅 I new in filament and try to remake feature I had with other back office.
I try te remake a upload file with view field. If I understand well, to work I need to send the picture in ajax in the temp folder and store the name in an input with name data.${model attribute}. after I have te make the picture treatment by my own