I am with the same issue here.
Using the change proposed by @Stefan on the `onAdd` event can fix for what we see.
But this approach doesn't rename the files sent to the backend after clicking on the Upload button.
Do you know how to handle this?
Please take a look on the below message...
It is log response from the API request on backend.
Processing by Api::V1::RequestsController#upload_photo as JSON
"picture"=>#<ActionDispatch::Http::UploadedFile:0x00007fa1bd879270 @tempfile=#<Tempfile:/var/folders/1w/xmvzf1vx20x73xc3c5nb2wv40000gn/T/RackMultipart20200602-99071-bngk60.png>, @original_filename="image.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"picture\"; filename=\"image.png\"\r\nContent-Type: image/png\r\n">,