We found some issue for the "Single Upload"
https://www.primefaces.org/showcase/ui/ ... fwid=c5e62
Step 1: Click "+Choose"
Step 2: Select Any file and Confirm. (e.g. abc.txt)
Step 3: Click "+Choose" again
Step 4: Click "Cancel" (We expect nothing selected)
Founding 1: In DEV Tools, some error prompted in console log.
Founding 2: In UI, the selected file on step 2 name is shown (abc.txt),
However, the item has been cleared.
document.getElementsByName("j_idt339:j_idt340_input")[0].value;
Nothing can be uploaded in this scenario.
FYI. We use this version of Primeface and found the same bug in our system.
Is this possible to have a fix? Thanks.
<dependency>
<groupId>org.primefaces</groupId>
<artifactId>primefaces</artifactId>
<version>11.0.0</version>
<classifier>jakarta</classifier>
</dependency>
Issue about Primeface Upload button
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests