Prerequisites
Steps to reproduce the issue
- create an input widget with uploadAsync: false and set uploadUrl
- return the expected server response from the backend upload controller (uploadUrl)
- js error in the console and Processing stuck
- refresh page
- delete the uploaded images
- upload again the same files and it will be okay, no problem, sucessful upload client and server side
Expected behavior and actual behavior
When I follow those steps, I see...
JS error in the console and the progressbar stuck on Processing but the files are uploaded successfully to the server
But if Im refreshing the page then deleting the images then upload again it will be okay and no problems at all
Result

JS error

Server response

I was expecting...
successful upload server and client side
Environment
Browsers
Operating System
Libraries
- jQuery version: v3.7.1
- yii2-widget-fileinput version: v1.1.1
Prerequisites
masterbranch of yii2-widget-fileinput.Steps to reproduce the issue
Expected behavior and actual behavior
When I follow those steps, I see...
JS error in the console and the progressbar stuck on Processing but the files are uploaded successfully to the server
But if Im refreshing the page then deleting the images then upload again it will be okay and no problems at all
Result

JS error

Server response

I was expecting...
successful upload server and client side
Environment
Browsers
Operating System
Libraries