FileUploader behavior in the canceling case
OpenUI5 version: latest stable from today.
Browser/version (+device/version): Chrome, Mozilla, Edge
Steps to reproduce the problem:
- Do a page with <uni:FileUploader id="ua_file_u1a1" additionalData="notReady"/>
- Click on Browse and select a file to upload
- Reclick on Browse then Cancel
What is the expected result? The previously file chosen should not have been emptied. It should have kept the previous choice.
What happens instead? The upload input is empty.
Hello @jerome-benoit,
Thank you for sharing this finding. I've created an internal incident 1870212041. The status of the issue will be updated here in GitHub.
Regards, Bozhko
Hello @jerome-benoit,
I tested the problem mentioned above. The only time that I encountered it, is when I tested it on Google Chrome. In my opinion this is not a bug regarding our framework, since it's a default behaviour of the above mentioned browser. To prove my words, below I'll provide a small jsbin example which don't rely on our framework. http://jsbin.com/zagajufafo/edit?html,output
Regards, Plamen
Fair enough. Closing.