1) Now, we use the picture widget instead of the image widget.
2) Because to replace the preview with the image, we must use an on_change event, but if we want to use this event, the client will send the image to the server, and the server will reply to the client. Not very optimal. So I prefer that the user saves his record to see the new preview.
1) Now, we use the picture widget instead of the image widget.
2) Because to replace the preview with the image, we must use an on_change event, but if we want to use this event, the client will send the image to the server, and the server will reply to the client. Not very optimal. So I prefer that the user saves his record to see the new preview.